Kevin676 commited on
Commit
3ef25da
·
1 Parent(s): 13c2638

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -127,7 +127,9 @@ def evaluate(
127
 
128
  res.append(out_str.strip())
129
 
130
- tts.tts_to_file(res, speaker_wav = upload, language="en", file_path="output.wav")
 
 
131
 
132
  voicefixer.restore(input="output.wav", # input wav file path
133
  output="audio1.wav", # output wav file path
 
127
 
128
  res.append(out_str.strip())
129
 
130
+ res1 = ''.join(str(x) for x in res)
131
+
132
+ tts.tts_to_file(res1, speaker_wav = upload, language="en", file_path="output.wav")
133
 
134
  voicefixer.restore(input="output.wav", # input wav file path
135
  output="audio1.wav", # output wav file path