Spaces:
Sleeping
Sleeping
Commit
·
08b7f1a
1
Parent(s):
c54611e
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def transcribe(Microphone, File_Upload):
|
|
30 |
file = File_Upload
|
31 |
|
32 |
result = model.transcribe(file, task="translate")
|
33 |
-
print(sentiment_analysis(result['text'][0]
|
34 |
|
35 |
text = sentiment_analysis(result['text'][0]['label'])
|
36 |
|
|
|
30 |
file = File_Upload
|
31 |
|
32 |
result = model.transcribe(file, task="translate")
|
33 |
+
print(sentiment_analysis(result['text'][0]))
|
34 |
|
35 |
text = sentiment_analysis(result['text'][0]['label'])
|
36 |
|