Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -109,9 +109,9 @@ def evaluate(
|
|
109 |
|
110 |
# res1 = ' '.join(str(x) for x in res)
|
111 |
|
112 |
-
tts.tts_to_file(res, speaker_wav = upload, language="en", file_path="
|
113 |
|
114 |
-
return [res, "
|
115 |
|
116 |
# return [result.text, res]
|
117 |
|
|
|
109 |
|
110 |
# res1 = ' '.join(str(x) for x in res)
|
111 |
|
112 |
+
tts.tts_to_file(res, speaker_wav = upload, language="en", file_path="audio1.wav")
|
113 |
|
114 |
+
return [res, "audio1.wav"]
|
115 |
|
116 |
# return [result.text, res]
|
117 |
|