Zw07 commited on
Commit
230f3ee
·
verified ·
1 Parent(s): 4cf7ea6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -169,7 +169,7 @@ def main():
169
  data=binary_data,
170
  file_name="output.mp3",
171
  mime="audio/mpeg",
172
- except error:
173
  st.error("Please input audio with one channel (mono-channel)")
174
 
175
  # if audio_file:
 
169
  data=binary_data,
170
  file_name="output.mp3",
171
  mime="audio/mpeg",
172
+ except RuntimeError:
173
  st.error("Please input audio with one channel (mono-channel)")
174
 
175
  # if audio_file: