Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
| 2 |
|
| 3 |
import gradio as gr
|
| 4 |
from transformers import pipeline
|
|
|
|
| 5 |
|
| 6 |
# Load sentiment analysis pipeline
|
| 7 |
sentiment_pipeline = pipeline("sentiment-analysis")
|
|
|
|
| 2 |
|
| 3 |
import gradio as gr
|
| 4 |
from transformers import pipeline
|
| 5 |
+
classifier=pipeline("sentiment-analysis")
|
| 6 |
|
| 7 |
# Load sentiment analysis pipeline
|
| 8 |
sentiment_pipeline = pipeline("sentiment-analysis")
|