Spaces:
Running
Running
mansi sharma commited on
Commit ·
beaa23b
1
Parent(s): a788079
model chaged
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
# Load model from Hugging Face
|
| 5 |
-
model_name = "
|
| 6 |
classifier = pipeline("sentiment-analysis", model=model_name)
|
| 7 |
|
| 8 |
# Prediction function
|
|
|
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
# Load model from Hugging Face
|
| 5 |
+
model_name = "MarieAngeA13/Sentiment-Analysis-BERT"
|
| 6 |
classifier = pipeline("sentiment-analysis", model=model_name)
|
| 7 |
|
| 8 |
# Prediction function
|