Spaces:
Sleeping
Sleeping
Commit
·
8aa718a
1
Parent(s):
08b7f1a
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']
|
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']))
|
34 |
|
35 |
text = sentiment_analysis(result['text'][0]['label'])
|
36 |
|