Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -120,7 +120,9 @@ def evaluate(
|
|
120 |
|
121 |
res.append(out_str.strip())
|
122 |
|
123 |
-
|
|
|
|
|
124 |
|
125 |
voicefixer.restore(input="output.wav", # input wav file path
|
126 |
output="audio1.wav", # output wav file path
|
|
|
120 |
|
121 |
res.append(out_str.strip())
|
122 |
|
123 |
+
res1 = ' '.join(str(x) for x in res)
|
124 |
+
|
125 |
+
tts.tts_to_file(res1, speaker_wav = upload, language="en", file_path="output.wav")
|
126 |
|
127 |
voicefixer.restore(input="output.wav", # input wav file path
|
128 |
output="audio1.wav", # output wav file path
|