DemahAlmutairi commited on
Commit
f7023fe
·
verified ·
1 Parent(s): b886a36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import torch
4
 
5
  # Load sentiment analysis models
6
  english_sentiment_model = pipeline("sentiment-analysis", model="nlptown/bert-base-multilingual-uncased-sentiment")
7
- arabic_sentiment_model = pipeline("text-classification", model="CAMeL-Lab/bert-base-arabic-camelbert-mix-did-madar-corpus26")
8
 
9
  def analyze_sentiment(text, language):
10
  if language == "English":
 
4
 
5
  # Load sentiment analysis models
6
  english_sentiment_model = pipeline("sentiment-analysis", model="nlptown/bert-base-multilingual-uncased-sentiment")
7
+ arabic_sentiment_model = pipeline("text-classification", model="CAMeL-Lab/bert-base-arabic-camelbert-da-sentiment")
8
 
9
  def analyze_sentiment(text, language):
10
  if language == "English":