DrishtiSharma commited on
Commit
58d5e1f
·
1 Parent(s): 314aa8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)[0]
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