ysharma HF staff commited on
Commit
0071143
1 Parent(s): fe33c17
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ coquiTTS = CoquiTTS()
23
  def fun(audio) :
24
  text1 = model.transcribe(audio)["text"]
25
  text2 = lang_model_response(text1)
26
- speech = tts(text, language):
27
  return text1, text2, speech
28
 
29
  def lang_model_response(prompt):
 
23
  def fun(audio) :
24
  text1 = model.transcribe(audio)["text"]
25
  text2 = lang_model_response(text1)
26
+ speech = tts(text, language)
27
  return text1, text2, speech
28
 
29
  def lang_model_response(prompt):