Rasmus Lellep commited on
Commit
ad7fc5b
·
1 Parent(s): 96b7634

downgrade gradio version

Browse files
Files changed (3) hide show
  1. .gitignore +7 -1
  2. app.py +3 -1
  3. requirements.txt +1 -1
.gitignore CHANGED
@@ -1,3 +1,9 @@
1
  */__pycache__/
 
 
 
2
  .vscode/
3
- model/*
 
 
 
 
1
  */__pycache__/
2
+ */*/__pycache__/
3
+ */*/*/__pycache__/
4
+ /**/*/*/__pycache__/
5
  .vscode/
6
+ model/*
7
+ ffmpeg
8
+ output.wav
9
+ unidic-3.1.0.zip
app.py CHANGED
@@ -680,17 +680,19 @@ with gr.Blocks(analytics_enabled=False) as demo:
680
  "hu",
681
  "hi"
682
  ],
683
- multiselect=False,
684
  value="et",
685
  )
686
  ref_gr = gr.Audio(
687
  label="Reference Audio",
688
  type="filepath",
 
689
  value="examples/LJ001-0030.wav",
690
  )
691
  mic_gr = gr.Audio(
692
  source="microphone",
693
  type="filepath",
 
694
  label="Use Microphone for Reference",
695
  )
696
  use_mic_gr = gr.Checkbox(
 
680
  "hu",
681
  "hi"
682
  ],
683
+ max_choices=1,
684
  value="et",
685
  )
686
  ref_gr = gr.Audio(
687
  label="Reference Audio",
688
  type="filepath",
689
+ info="Click on the ✎ button to upload your own target speaker audio",
690
  value="examples/LJ001-0030.wav",
691
  )
692
  mic_gr = gr.Audio(
693
  source="microphone",
694
  type="filepath",
695
+ info="Use your microphone to record audio",
696
  label="Use Microphone for Reference",
697
  )
698
  use_mic_gr = gr.Checkbox(
requirements.txt CHANGED
@@ -64,7 +64,7 @@ num2words>=0.5.14
64
  spacy[ja]>=3,<3.8
65
  tokenizers==0.20.1
66
  #deps for gradio
67
- gradio
68
  huggingface_hub
69
  pydantic==1.10.13
70
  python-multipart==0.0.6
 
64
  spacy[ja]>=3,<3.8
65
  tokenizers==0.20.1
66
  #deps for gradio
67
+ gradio==3.50.2
68
  huggingface_hub
69
  pydantic==1.10.13
70
  python-multipart==0.0.6