JohnJumon commited on
Commit
2e9243a
1 Parent(s): e43ff2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,9 +1,9 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
- accuracy_pipeline = pipeline(task="audio-classification", model="JohnJumon/pronunciation_accuracy")
5
- fluency_pipeline = pipeline(task="audio-classification", model="JohnJumon/fluency_accuracy")
6
- prosodic_pipeline = pipeline(task="audio-classification", model="JohnJumon/prosodic_accuracy")
7
 
8
  def pronunciation_scoring(audio):
9
  accuracy = accuracy_classifier(audio)
 
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
+ accuracy_classifier = pipeline(task="audio-classification", model="JohnJumon/pronunciation_accuracy")
5
+ fluency_classifier = pipeline(task="audio-classification", model="JohnJumon/fluency_accuracy")
6
+ prosodic_classifier = pipeline(task="audio-classification", model="JohnJumon/prosodic_accuracy")
7
 
8
  def pronunciation_scoring(audio):
9
  accuracy = accuracy_classifier(audio)