abdullah123456 commited on
Commit
5411cf9
·
verified ·
1 Parent(s): eb229f6

Updating the model path

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,7 +4,8 @@ from transformers import AutoModelForSequenceClassification, AutoTokenizer
4
 
5
  # Defining the model path relative to the repository root.
6
  #model_path = "abdullah123456/NLP_Project"
7
- model_path = "nlptown/bert-base-multilingual-uncased-sentiment"
 
8
 
9
  # Loading the model and tokenizer from the local directory.
10
  model = AutoModelForSequenceClassification.from_pretrained(model_path)
 
4
 
5
  # Defining the model path relative to the repository root.
6
  #model_path = "abdullah123456/NLP_Project"
7
+ #model_path = "nlptown/bert-base-multilingual-uncased-sentiment"
8
+ model_path = "abdullah123456/Sentiment_Analysis_Urdu_NLP"
9
 
10
  # Loading the model and tokenizer from the local directory.
11
  model = AutoModelForSequenceClassification.from_pretrained(model_path)