Spaces:
Runtime error
Runtime error
Commit
Β·
32a6f91
1
Parent(s):
c8d42d2
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import whisper
|
3 |
from transformers import pipeline
|
|
|
1 |
+
import gradio as gr
|
2 |
+
import whisper
|
3 |
+
from transformers import pipeline
|
4 |
+
|
5 |
+
model = whisper.load_model("base")
|
6 |
+
sentiment_analysis = pipeline("sentiment-analysis", framework="pt", model="SamLowe/roberta-base-go_emotions")
|
7 |
+
|
8 |
+
|
9 |
import gradio as gr
|
10 |
import whisper
|
11 |
from transformers import pipeline
|