Zw07 commited on
Commit
28d1bd2
1 Parent(s): e3b77c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -154,7 +154,7 @@ def main():
154
  st.markdown(wav)
155
 
156
  elif file_extension == ".mp3":
157
- wav, sample_rate = torchaudio.load("test.mp3")
158
  st.markdown("Before unsqueeze mp3")
159
  st.markdown(wav)
160
 
 
154
  st.markdown(wav)
155
 
156
  elif file_extension == ".mp3":
157
+ wav, sample_rate = torchaudio.load("test.mp3",format="mp3")
158
  st.markdown("Before unsqueeze mp3")
159
  st.markdown(wav)
160