Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -83,13 +83,13 @@ def classify_audio(filepath):
|
|
| 83 |
|
| 84 |
title = "Language Classification Model"
|
| 85 |
description = (
|
| 86 |
-
"
|
| 87 |
-
"
|
| 88 |
-
"
|
| 89 |
-
"Try it out
|
| 90 |
-
|
| 91 |
)
|
| 92 |
-
filenames = ['
|
| 93 |
filenames = [[f"./{f}"] for f in filenames]
|
| 94 |
demo = gr.Interface(
|
| 95 |
fn=classify_audio,
|
|
|
|
| 83 |
|
| 84 |
title = "Language Classification Model"
|
| 85 |
description = (
|
| 86 |
+
"Welcome to the Language Classification Model demo powered by Gradio and Hubert Emotion. "
|
| 87 |
+
"This model is trained to identify the language spoken in audio samples, making it a valuable tool "
|
| 88 |
+
"for language identification tasks. Upload an audio file, and let the model predict the spoken language "
|
| 89 |
+
"with confidence scores. Try it out with our provided example audio files to see the model in action!"
|
| 90 |
+
|
| 91 |
)
|
| 92 |
+
filenames = ['EN_0212.wav', "FR_0061.wav", "JP_0100.wav","AR_0019.wav"]
|
| 93 |
filenames = [[f"./{f}"] for f in filenames]
|
| 94 |
demo = gr.Interface(
|
| 95 |
fn=classify_audio,
|