joey1101 commited on
Commit
a550bad
·
verified ·
1 Parent(s): 200a0c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -194,5 +194,6 @@ with torch.no_grad():
194
 
195
  # 保存为WAV文件(16kHz采样率)
196
  sf.write("customer_service_response.wav", speech.numpy(), samplerate=16000)
 
 
197
 
198
- print("语音生成完成,已保存为 customer_service_response.wav")
 
194
 
195
  # 保存为WAV文件(16kHz采样率)
196
  sf.write("customer_service_response.wav", speech.numpy(), samplerate=16000)
197
+ st.text("I wanna tell you that")
198
+ st.audio("customer_service_response.wav")
199