yukta1 commited on
Commit
1fa2e81
·
verified ·
1 Parent(s): 54f1f77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,4 +1,5 @@
1
  import gradio as gr
 
2
 
3
  # Load the sentiment analysis pipeline
4
  classifier = pipeline("sentiment-analysis")
 
1
  import gradio as gr
2
+ from transformers import pipeline
3
 
4
  # Load the sentiment analysis pipeline
5
  classifier = pipeline("sentiment-analysis")