jpbello commited on
Commit
b99981c
1 Parent(s): 696a3a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -83,13 +83,13 @@ def classify_audio(filepath):
83
 
84
  title = "Language Classification Model"
85
  description = (
86
- "This model has been fine-tuned on a dataset containing various languages\n"
87
- "including Arabic, Basque, Catalan, Chinese, English, French, German, Japanese, Russian, and more.\n"
88
- "It is designed for audio classification, allowing it to predict the language spoken in a given audio clip.\n"
89
- "Try it out by uploading an audio sample and see how accurately it can identify the language being spoken!\n"
90
- "For more info, check out [GITHUB](https://github.com/AEscF)"
91
  )
92
- filenames = ['EN_0049.wav', "FR_0098.wav", "JP_0222.wav",]
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,