Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -186,7 +186,7 @@ def sound_gen(response):
|
|
| 186 |
return
|
| 187 |
|
| 188 |
|
| 189 |
-
|
| 190 |
st.text("I wanna tell you that")
|
| 191 |
st.audio("customer_service_response.wav")
|
| 192 |
|
|
|
|
| 186 |
return
|
| 187 |
|
| 188 |
|
| 189 |
+
st.write("customer_service_response.wav", speech.numpy(), samplerate=16000)
|
| 190 |
st.text("I wanna tell you that")
|
| 191 |
st.audio("customer_service_response.wav")
|
| 192 |
|