ItalianSER / app.py
wilke18's picture
Update app.py
b8b0fb9
raw
history blame contribute delete
178 Bytes
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)