Spaces:
Sleeping
Sleeping
ASG Models
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -221,7 +221,7 @@ with gr.Blocks() as demo: # Use gr.Blocks to wrap the entire interface
|
|
221 |
audio_player = gr.Audio(label="أ audio",streaming=True)
|
222 |
|
223 |
# Update the event binding
|
224 |
-
|
225 |
|
226 |
|
227 |
|
|
|
221 |
audio_player = gr.Audio(label="أ audio",streaming=True)
|
222 |
|
223 |
# Update the event binding
|
224 |
+
generate_button.click(generate_audio, inputs=[text_input,model_choice], outputs=audio_player)
|
225 |
|
226 |
|
227 |
|