Update app.py
Browse files
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"),
|