Spaces:
Sleeping
Sleeping
Commit
·
1c9055c
1
Parent(s):
2dc9bb8
Update app.py
Browse files
app.py
CHANGED
@@ -31,6 +31,7 @@ def transcribe(Microphone, File_Upload):
|
|
31 |
|
32 |
result = model.transcribe(file, task="translate")
|
33 |
text = sentiment_analysis(result['text'][0]['label'])
|
|
|
34 |
return text
|
35 |
|
36 |
iface = gr.Interface(
|
|
|
31 |
|
32 |
result = model.transcribe(file, task="translate")
|
33 |
text = sentiment_analysis(result['text'][0]['label'])
|
34 |
+
print(text)
|
35 |
return text
|
36 |
|
37 |
iface = gr.Interface(
|