Spaces:
Sleeping
Sleeping
Commit
·
89c7f6e
1
Parent(s):
abe273f
Update app.py
Browse files
app.py
CHANGED
|
@@ -92,11 +92,10 @@ if submit:
|
|
| 92 |
input=response
|
| 93 |
)
|
| 94 |
|
| 95 |
-
#
|
| 96 |
-
|
| 97 |
|
| 98 |
-
|
| 99 |
-
Audio(audio_response.content, rate=44100)
|
| 100 |
|
| 101 |
|
| 102 |
|
|
|
|
| 92 |
input=response
|
| 93 |
)
|
| 94 |
|
| 95 |
+
# Embed audio in the webpage without saving it
|
| 96 |
+
st.audio(audio_response.content, format="audio/mp3",start_time=0, autoplay=True)
|
| 97 |
|
| 98 |
+
|
|
|
|
| 99 |
|
| 100 |
|
| 101 |
|