almncarlo commited on
Commit
4b4edc4
1 Parent(s): 18caf08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -258,7 +258,8 @@ def txt2speech(text):
258
  def main(audio_filepath, src_lang, tgt_lang, pnc):
259
  translated = transcribe(audio_filepath, src_lang, tgt_lang, pnc)
260
  answer = llm_pipe(translated, **generation_args)
261
- return [answer[0]['generated_text'], 'audio_out.mp3']
 
262
 
263
 
264
 
 
258
  def main(audio_filepath, src_lang, tgt_lang, pnc):
259
  translated = transcribe(audio_filepath, src_lang, tgt_lang, pnc)
260
  answer = llm_pipe(translated, **generation_args)
261
+ # return [answer[0]['generated_text'], 'audio_out.mp3']
262
+ return 'audio_out.mp3'
263
 
264
 
265