1ffd672 85c5ac2 1ffd672 85c5ac2
1
2
3
4
5
6
7
import streamlit as st if __name__ == "__main__": uploaded_file = st.file_uploader("Choose a file") with open(uploaded_file, 'rb') as audio_file: audio_bytes = audio_file.read() st.audio(audio_bytes, format='audio/wav')