myhanhhyugen commited on
Commit
fc16346
·
verified ·
1 Parent(s): b1cd480

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,4 +24,4 @@ if text:
24
  waveform = waveforms[0].squeeze(1)
25
 
26
  # Display the audio widget to play the synthesized speech
27
- st.audio(waveform, format="audio/wav")
 
24
  waveform = waveforms[0].squeeze(1)
25
 
26
  # Display the audio widget to play the synthesized speech
27
+ st.audio(waveform.numpy(), format="audio/wav", sample_rate = 22050)