John6666 commited on
Commit
ab45518
·
1 Parent(s): 522cdaf

Upload 5 files

Browse files

Just a patch to avoid startup failure and Gradio Bug about Zero GPU Pro Quota. (Fixed: CRLF to LF)
https://discuss.huggingface.co/t/why-gpu-is-over-and-how-resolve-that/162821/2

Files changed (4) hide show
  1. README.md +1 -1
  2. app.py +2 -1
  3. pre-requirements.txt +1 -0
  4. requirements.txt +3 -1
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: ⚡
4
  colorFrom: gray
5
  colorTo: indigo
6
  sdk: gradio
7
- sdk_version: 4.28.3
8
  app_file: app.py
9
  license: mit
10
  pinned: true
 
4
  colorFrom: gray
5
  colorTo: indigo
6
  sdk: gradio
7
+ sdk_version: 5.34.2
8
  app_file: app.py
9
  license: mit
10
  pinned: true
app.py CHANGED
@@ -573,7 +573,7 @@ def show_components_down(value_active):
573
 
574
 
575
  def get_gui(theme):
576
- with gr.Blocks(theme=theme, delete_cache=(3200, 3200)) as app:
577
  gr.Markdown(title)
578
  gr.Markdown(description)
579
 
@@ -737,5 +737,6 @@ if __name__ == "__main__":
737
  show_error=True,
738
  quiet=False,
739
  debug=False,
 
740
  allowed_paths=["./downloads/"],
741
  )
 
573
 
574
 
575
  def get_gui(theme):
576
+ with gr.Blocks(theme=theme, fill_width=True, fill_height=True, delete_cache=(3200, 3200)) as app:
577
  gr.Markdown(title)
578
  gr.Markdown(description)
579
 
 
737
  show_error=True,
738
  quiet=False,
739
  debug=False,
740
+ ssr_mode=False,
741
  allowed_paths=["./downloads/"],
742
  )
pre-requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ pip==24.0
requirements.txt CHANGED
@@ -3,4 +3,6 @@ infer-rvc-python==1.1.0
3
  edge-tts
4
  pedalboard
5
  noisereduce
6
- numpy==1.23.5
 
 
 
3
  edge-tts
4
  pedalboard
5
  noisereduce
6
+ numpy==1.23.5
7
+ transformers<=4.48.3
8
+ pydantic==2.10.6