Spaces:
Runtime error
Runtime error
import streamlit as st | |
import numpy as np | |
import torchaudio | |
audio_bytes, sr = torchaudio.load("dis-f1-b1.wav") | |
st.audio(audio_bytes.numpy(), format='audio/wav', sample_rate=sr) |