Spaces:
Build error
Build error
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):
|