Kevin676 commited on
Commit
f3ce39f
1 Parent(s): a977576

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -120,7 +120,9 @@ def evaluate(
120
 
121
  res.append(out_str.strip())
122
 
123
- tts.tts_to_file(res, speaker_wav = upload, language="en", file_path="output.wav")
 
 
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