Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -430,7 +430,7 @@ def process_and_query(input_language=None, audio_input=None, image_input=None, t
|
|
| 430 |
final_response = process_summary_with_stablemed(summary)
|
| 431 |
|
| 432 |
# Translate the final response
|
| 433 |
-
translated_response = translate_text(final_response, input_language)
|
| 434 |
|
| 435 |
# Convert translated text to speech
|
| 436 |
audio_file_path = convert_text_to_speech(translated_response, input_language)
|
|
|
|
| 430 |
final_response = process_summary_with_stablemed(summary)
|
| 431 |
|
| 432 |
# Translate the final response
|
| 433 |
+
translated_response = translate_text(final_response, input_language, input_language)
|
| 434 |
|
| 435 |
# Convert translated text to speech
|
| 436 |
audio_file_path = convert_text_to_speech(translated_response, input_language)
|