zomehwh commited on
Commit
b61e49c
1 Parent(s): fb66b67
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +1 -1
app.py CHANGED
@@ -270,7 +270,7 @@ with gr.Blocks() as app:
270
  prompt_text = gr.Dropdown(
271
  label="Transcript of the Reference Audio",
272
  value=example_reference,
273
- choices=transcripts.keys()
274
  )
275
  inp_ref_audio = gr.Audio(
276
  label="Reference Audio",
@@ -301,4 +301,4 @@ with gr.Blocks() as app:
301
  outputs=[om, output]
302
  )
303
 
304
- app.queue().launch()
 
270
  prompt_text = gr.Dropdown(
271
  label="Transcript of the Reference Audio",
272
  value=example_reference,
273
+ choices=list(transcripts.keys())
274
  )
275
  inp_ref_audio = gr.Audio(
276
  label="Reference Audio",
 
301
  outputs=[om, output]
302
  )
303
 
304
+ app.queue(concurrency_count=2).launch()
requirements.txt CHANGED
@@ -4,7 +4,7 @@ torch
4
  librosa==0.9.2
5
  numba==0.56.4
6
  pytorch-lightning
7
- gradio
8
  ffmpeg-python
9
  tqdm==4.59.0
10
  cn2an
 
4
  librosa==0.9.2
5
  numba==0.56.4
6
  pytorch-lightning
7
+ gradio==3.14.0
8
  ffmpeg-python
9
  tqdm==4.59.0
10
  cn2an