Spaces:
Runtime error
Runtime error
Commit
·
58d5e1f
1
Parent(s):
314aa8a
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from transformers import pipeline
|
|
5 |
|
6 |
def classify_sentiment(audio, model):
|
7 |
pipe = pipeline("audio-classification", model=model)
|
8 |
-
sentiment_classifier = pipe(audio)
|
9 |
return sentiment_classifier
|
10 |
|
11 |
|
|
|
5 |
|
6 |
def classify_sentiment(audio, model):
|
7 |
pipe = pipeline("audio-classification", model=model)
|
8 |
+
sentiment_classifier = pipe(audio)
|
9 |
return sentiment_classifier
|
10 |
|
11 |
|