aurelben commited on
Commit
a1b940d
1 Parent(s): 973cefd

change whisper version

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ def process_audio(input_audio, new_chunk):
79
  text = autocomplete(transcription)
80
  print (transcription, text)
81
  api = TTS(model_name="tts_models/fra/fairseq/vits").to(device)
82
- api.tts_to_file(text, file_path="output.wav",language="fr", split_sentences=True)
83
  audio = "./output.wav"
84
  return stream, text, audio
85
 
 
79
  text = autocomplete(transcription)
80
  print (transcription, text)
81
  api = TTS(model_name="tts_models/fra/fairseq/vits").to(device)
82
+ api.tts_to_file(text, file_path="output.wav", split_sentences=True)
83
  audio = "./output.wav"
84
  return stream, text, audio
85