Spaces:
Paused
Paused
Update app.py
Browse files
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)
|