Update app.py
Browse files
app.py
CHANGED
|
@@ -169,7 +169,7 @@ def main():
|
|
| 169 |
data=binary_data,
|
| 170 |
file_name="output.mp3",
|
| 171 |
mime="audio/mpeg",
|
| 172 |
-
except
|
| 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:
|