saisi commited on
Commit
f59595f
1 Parent(s): 53a523b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ import torch
4
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
5
 
6
  # Define the paths of the pre-trained models
7
- model1_path = "https://huggingface.co/saisi/finetuned-Sentiment-classfication-ROBERTA-model"
8
- model2_path = "https://huggingface.co/saisi/finetuned-Sentiment-classfication-DISTILBERT-model"
9
 
10
  # Initialize the tokenizer and models for sentiment analysis
11
  tokenizer1 = AutoTokenizer.from_pretrained(model1_path)
 
4
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
5
 
6
  # Define the paths of the pre-trained models
7
+ model1_path = "saisi/finetuned-Sentiment-classfication-ROBERTA-model"
8
+ model2_path = "saisi/finetuned-Sentiment-classfication-DISTILBERT-model"
9
 
10
  # Initialize the tokenizer and models for sentiment analysis
11
  tokenizer1 = AutoTokenizer.from_pretrained(model1_path)