Spaces:
Runtime error
Runtime error
Update app.py
Browse files374 unmodified lines37537637737837938038148 unmodified lines430431432433434435436374 unmodified linesimage_description = ""markdown_output = ""image_text = ""translated_response = ""audio_file_path = ""# Debugging print statementprint(f"Image Input Type: {type(image_input)}, Audio Input Type: {type(audio_input)}")48 unmodified lines# Convert translated text to speech and get both audio file and texttarget_language = "English" # Set the target language for the speechaudio_file_path = convert_text_to_speech(final_response, target_language, input_language)# Evaluate hallucinationhallucination_label = evaluate_hallucination(final_response, summary)374 unmodified lines37537637737837938038148 unmodified lines430431432433434435436374 unmodified linesimage_description = ""markdown_output = ""image_text = ""translated_text = ""audio_file_path = ""# Debugging print statementprint(f"Image Input Type: {type(image_input)}, Audio Input Type: {type(audio_input)}")48 unmodified lines# Convert translated text to speech and get both audio file and texttarget_language = "English" # Set the target language for the speechaudio_file_path, translated_text = convert_text_to_speech(final_response, target_language, input_language)# Evaluate hallucinationhallucination_label = evaluate_hallucination(final_response, summary)
app.py+2-2