Spaces:
Running
Running
working as of now for .wav files
Browse files
app.py
CHANGED
@@ -15,9 +15,9 @@ model = CedForAudioClassification.from_pretrained(model_name)
|
|
15 |
|
16 |
st.title("Audio Classification App")
|
17 |
st.subheader("Trained on 50 classes of ESC 50 dataset")
|
18 |
-
st.write("Upload an audio file to predict its class.")
|
19 |
|
20 |
-
audio_file = st.file_uploader("Upload Audio File", type=["wav"
|
21 |
|
22 |
if audio_file is not None:
|
23 |
st.write(f"Uploaded file: {audio_file.name}")
|
|
|
15 |
|
16 |
st.title("Audio Classification App")
|
17 |
st.subheader("Trained on 50 classes of ESC 50 dataset")
|
18 |
+
st.write("Upload an audio file to predict its class. It takes .wav file format")
|
19 |
|
20 |
+
audio_file = st.file_uploader("Upload Audio File", type=["wav"])
|
21 |
|
22 |
if audio_file is not None:
|
23 |
st.write(f"Uploaded file: {audio_file.name}")
|