thinhlpg commited on
Commit
abf7246
1 Parent(s): 54321fc

fix: update requirements and code for gradio 4 compatibility

Browse files
Files changed (2) hide show
  1. app.py +0 -2
  2. requirements.txt +1 -1
app.py CHANGED
@@ -277,11 +277,9 @@ with gr.Blocks(analytics_enabled=False) as demo:
277
  normalize_text = gr.Checkbox(
278
  label="Normalize Vietnamese Text",
279
  info="Normalize Vietnamese Text",
280
- default=True,
281
  )
282
  ref_gr = gr.Audio(
283
  label="Reference Audio",
284
- info="Click on the ✎ button to upload your own target speaker audio",
285
  type="filepath",
286
  value="model/samples/nu-luu-loat.wav",
287
  )
 
277
  normalize_text = gr.Checkbox(
278
  label="Normalize Vietnamese Text",
279
  info="Normalize Vietnamese Text",
 
280
  )
281
  ref_gr = gr.Audio(
282
  label="Reference Audio",
 
283
  type="filepath",
284
  value="model/samples/nu-luu-loat.wav",
285
  )
requirements.txt CHANGED
@@ -10,7 +10,7 @@ unidic==1.1.0
10
  langid
11
  deepspeed
12
  pydub
13
- gradio==3.48.0
14
 
15
  # Vietnamese 101
16
  vinorm==2.0.7
 
10
  langid
11
  deepspeed
12
  pydub
13
+ gradio==4.36.1
14
 
15
  # Vietnamese 101
16
  vinorm==2.0.7