Walid-Ahmed commited on
Commit
bf4d290
1 Parent(s): 3280a67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", tokenizer=model_path)
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