Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from transformers import pipeline
|
|
| 3 |
|
| 4 |
# Load the fine-tuned model and tokenizer into a pipeline
|
| 5 |
#model_path = "model" # Replace with your actual model path
|
| 6 |
-
sentiment_pipeline = pipeline("sentiment-analysis", model="Walid-Ahmed/arabic-sentiment-model"
|
| 7 |
|
| 8 |
|
| 9 |
# Define label mapping
|
|
|
|
| 3 |
|
| 4 |
# Load the fine-tuned model and tokenizer into a pipeline
|
| 5 |
#model_path = "model" # Replace with your actual model path
|
| 6 |
+
sentiment_pipeline = pipeline("sentiment-analysis", model="Walid-Ahmed/arabic-sentiment-model")
|
| 7 |
|
| 8 |
|
| 9 |
# Define label mapping
|