abdullah123456 commited on
Commit
eb229f6
·
verified ·
1 Parent(s): 0d7c2a9

Update app.py

Browse files

Updating the link to model

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,7 +3,8 @@ import torch
3
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
4
 
5
  # Defining the model path relative to the repository root.
6
- model_path = "abdullah123456/NLP_Project"
 
7
 
8
  # Loading the model and tokenizer from the local directory.
9
  model = AutoModelForSequenceClassification.from_pretrained(model_path)
 
3
  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)