Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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")
|