Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ def main():
|
|
| 12 |
st.title("Audio Upload and Prediction")
|
| 13 |
|
| 14 |
# File uploader for audio files
|
| 15 |
-
audio_file = st.file_uploader("Upload an audio file (
|
| 16 |
|
| 17 |
if audio_file is not None:
|
| 18 |
# Convert the audio file to a Base64 string
|
|
|
|
| 12 |
st.title("Audio Upload and Prediction")
|
| 13 |
|
| 14 |
# File uploader for audio files
|
| 15 |
+
audio_file = st.file_uploader("Upload an audio file (e.g., mp3, wav, ogg, webm)", type=["mp3", "wav", "ogg", "webm", "m4a", "aac"])
|
| 16 |
|
| 17 |
if audio_file is not None:
|
| 18 |
# Convert the audio file to a Base64 string
|