Hello-World / app.py
nickjohn's picture
Test audio
1cb9f6a
raw
history blame contribute delete
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")