Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -220,7 +220,7 @@ with gr.Blocks() as demo:
|
|
220 |
|
221 |
# Define interactions
|
222 |
get_response_btn.click(fn=get_response, inputs=question_input, outputs=response_output)
|
223 |
-
generate_audio_btn.click
|
224 |
clean_btn.click(fn=clear_fields, inputs=[], outputs=[question_input, response_output])
|
225 |
|
226 |
# Launch the Gradio interface
|
|
|
220 |
|
221 |
# Define interactions
|
222 |
get_response_btn.click(fn=get_response, inputs=question_input, outputs=response_output)
|
223 |
+
generate_audio_btn.click(fn=generate_audio_elevenlabs, inputs=response_output, outputs=audio_output)
|
224 |
clean_btn.click(fn=clear_fields, inputs=[], outputs=[question_input, response_output])
|
225 |
|
226 |
# Launch the Gradio interface
|