Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -484,7 +484,7 @@ def process_and_query(input_language=None, audio_input=None, image_input=None, t
|
|
484 |
final_response = process_summary_with_stablemed(summary)
|
485 |
|
486 |
# Convert translated text to speech and get both audio file and text
|
487 |
-
target_language = "
|
488 |
audio_output, translated_text = convert_text_to_speech(final_response, target_language, input_language)
|
489 |
|
490 |
# Evaluate hallucination
|
|
|
484 |
final_response = process_summary_with_stablemed(summary)
|
485 |
|
486 |
# Convert translated text to speech and get both audio file and text
|
487 |
+
target_language = "English" # Set the target language for the speech
|
488 |
audio_output, translated_text = convert_text_to_speech(final_response, target_language, input_language)
|
489 |
|
490 |
# Evaluate hallucination
|