Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
nickjohn
/
Hello-World
like
0
Runtime error
App
Files
Files
Community
1
1cb9f6a
Hello-World
/
app.py
nickjohn
Test audio
1cb9f6a
over 2 years ago
raw
Copy download link
history
blame
Safe
165 Bytes
import
streamlit
as
st
st.title(
"Hello World"
)
st.write(
"Sample audio"
)
audio_bytes =
open
(
"sample.mp3"
,
"rb"
).read()
st.audio(audio_bytes,
format
=
"audio/mp3"
)