Faizan15 commited on
Commit
5eb65f4
·
1 Parent(s): 4cef295

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import gradio as gr
2
-
 
3
 
4
  model = whisper.load_model("base")
5
  sentiment_analysis = pipeline("sentiment-analysis", framework="pt", model="SamLowe/roberta-base-go_emotions")
@@ -147,4 +148,4 @@ with block:
147
  </div>
148
  ''')
149
 
150
- block.launch()
 
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")
 
148
  </div>
149
  ''')
150
 
151
+ block.launch()