Spaces:
Sleeping
Sleeping
Commit
·
0379ccf
1
Parent(s):
4f67380
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,7 +91,7 @@ if submit:
|
|
| 91 |
input=response
|
| 92 |
)
|
| 93 |
# Embed audio in the webpage
|
| 94 |
-
st.audio(audio_response
|
| 95 |
|
| 96 |
else:
|
| 97 |
st.subheader("Error: Unable to get response. Please try again later.")
|
|
|
|
| 91 |
input=response
|
| 92 |
)
|
| 93 |
# Embed audio in the webpage
|
| 94 |
+
st.audio(audio_response["url"])
|
| 95 |
|
| 96 |
else:
|
| 97 |
st.subheader("Error: Unable to get response. Please try again later.")
|