Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import whisper
|
3 |
from transformers import pipeline
|
4 |
|
5 |
-
model = whisper.load_model("
|
6 |
sentiment_analysis = pipeline("sentiment-analysis", framework="pt", model="SamLowe/roberta-base-go_emotions")
|
7 |
|
8 |
def analyze_sentiment(text):
|
|
|
2 |
import whisper
|
3 |
from transformers import pipeline
|
4 |
|
5 |
+
model = whisper.load_model("small")
|
6 |
sentiment_analysis = pipeline("sentiment-analysis", framework="pt", model="SamLowe/roberta-base-go_emotions")
|
7 |
|
8 |
def analyze_sentiment(text):
|