Kevin676 commited on
Commit
20c9cd5
·
1 Parent(s): d7f82c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ def evaluate(
157
  # tts.tts_to_file(output.split("### Response:")[1].strip(), speaker_wav = upload, language="en", file_path="output.wav")
158
 
159
  output1 = output.split("### Response:")[1].strip()
160
- output2 = output.split("### Instruction:")[0].strip()
161
 
162
  tts.tts_to_file(output2, speaker_wav = upload, language="en", file_path="output.wav")
163
 
 
157
  # tts.tts_to_file(output.split("### Response:")[1].strip(), speaker_wav = upload, language="en", file_path="output.wav")
158
 
159
  output1 = output.split("### Response:")[1].strip()
160
+ output2 = output1.split("### Instruction:")[0].strip()
161
 
162
  tts.tts_to_file(output2, speaker_wav = upload, language="en", file_path="output.wav")
163