Alejandro Vaca commited on
Commit
13beaa4
1 Parent(s): 6bf4ad7

añadido audio troll

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 "tmptdsnrh_8.flac"
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__":