Spaces:
Build error
Build error
Alejandro Vaca
commited on
Commit
•
13beaa4
1
Parent(s):
6bf4ad7
añadido audio troll
Browse files
app.py
CHANGED
@@ -179,7 +179,7 @@ def search_and_answer(
|
|
179 |
if do_tts:
|
180 |
audio_answer = tts_es(remove_chars_to_tts(final_answer))
|
181 |
final_answer = parse_final_answer(final_answer, contexts)
|
182 |
-
return final_answer, audio_answer if do_tts else "
|
183 |
|
184 |
|
185 |
if __name__ == "__main__":
|
|
|
179 |
if do_tts:
|
180 |
audio_answer = tts_es(remove_chars_to_tts(final_answer))
|
181 |
final_answer = parse_final_answer(final_answer, contexts)
|
182 |
+
return final_answer, audio_answer if do_tts else "audio_troll.flac"
|
183 |
|
184 |
|
185 |
if __name__ == "__main__":
|