Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import torch
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
model_id = "
|
5 |
pipe = pipeline("audio-classification", model=model_id)
|
6 |
|
7 |
def classify_audio(filepath):
|
|
|
1 |
import torch
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
model_id = "ummonk/distilhubert-finetuned-accents"
|
5 |
pipe = pipeline("audio-classification", model=model_id)
|
6 |
|
7 |
def classify_audio(filepath):
|