bambadij commited on
Commit
c6291e6
·
1 Parent(s): 7186bc6
Files changed (2) hide show
  1. __pycache__/app.cpython-311.pyc +0 -0
  2. app.py +3 -2
__pycache__/app.cpython-311.pyc CHANGED
Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ
 
app.py CHANGED
@@ -6,11 +6,12 @@ import numpy as np
6
 
7
  #Setup
8
 
9
- model_path = f"bambadij/COVID_Vaccine_Tweet_sentiment_analysis_roberta"
10
- tokenizer = AutoTokenizer.from_pretrained(model_path)
11
  config = AutoConfig.from_pretrained(model_path)
12
  model = AutoModelForSequenceClassification.from_pretrained(model_path)
13
 
 
14
  #Function
15
 
16
  # Preprocess text (username and link placeholders)
 
6
 
7
  #Setup
8
 
9
+ model_path = f"bambadij/Tweet_sentiment_analysis_Distilbert"
10
+ tokenizer = AutoTokenizer.from_pretrained(model_path)
11
  config = AutoConfig.from_pretrained(model_path)
12
  model = AutoModelForSequenceClassification.from_pretrained(model_path)
13
 
14
+
15
  #Function
16
 
17
  # Preprocess text (username and link placeholders)