Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -1401,7 +1401,7 @@ with gr.Blocks(theme='Pijush2023/scikit-learn-pijush') as demo:
|
|
1401 |
fn=generate_bot_response, inputs=[chatbot, choice, retrieval_mode, model_choice], outputs=[chatbot], api_name="api_generate_bot_response"
|
1402 |
).then(
|
1403 |
# Then, generate the TTS response based on the bot's response
|
1404 |
-
fn=generate_tts_response, inputs=[chatbot, tts_choice], outputs=[audio_output],
|
1405 |
).then(
|
1406 |
fn=show_map_if_details, inputs=[chatbot, choice], outputs=[location_output, location_output], api_name="api_show_map_details"
|
1407 |
).then(
|
|
|
1401 |
fn=generate_bot_response, inputs=[chatbot, choice, retrieval_mode, model_choice], outputs=[chatbot], api_name="api_generate_bot_response"
|
1402 |
).then(
|
1403 |
# Then, generate the TTS response based on the bot's response
|
1404 |
+
fn=generate_tts_response, inputs=[chatbot, tts_choice], outputs=[audio_output], api_name="api_generate_tts_response"
|
1405 |
).then(
|
1406 |
fn=show_map_if_details, inputs=[chatbot, choice], outputs=[location_output, location_output], api_name="api_show_map_details"
|
1407 |
).then(
|