Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
|
5 |
-
|
6 |
-
|
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)
|