MAZALA2024 commited on
Commit
2e30408
·
verified ·
1 Parent(s): 461e4d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ def convert_tts(model_name, audio_file, slang_rate):
102
 
103
  # Create the Gradio interface with queue
104
  iface = gr.Interface(
105
- fn=convert_tts,
106
  inputs=[
107
  gr.Dropdown(choices=get_model_names(), label="Model", interactive=True),
108
  gr.Audio(label="Upload Audio", type="filepath"),
 
102
 
103
  # Create the Gradio interface with queue
104
  iface = gr.Interface(
105
+ fn=convert_tts, # Remove async if it's there
106
  inputs=[
107
  gr.Dropdown(choices=get_model_names(), label="Model", interactive=True),
108
  gr.Audio(label="Upload Audio", type="filepath"),