Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
import librosa
|
| 3 |
from transformers import pipeline
|
| 4 |
|
| 5 |
-
pipe = pipeline("audio-classification", model="lewtun/distilhubert-finetuned-gtzan
|
| 6 |
|
| 7 |
|
| 8 |
def classify_audio(filepath):
|
|
|
|
| 2 |
import librosa
|
| 3 |
from transformers import pipeline
|
| 4 |
|
| 5 |
+
pipe = pipeline("audio-classification", model="lewtun/distilhubert-finetuned-gtzan")
|
| 6 |
|
| 7 |
|
| 8 |
def classify_audio(filepath):
|