Spaces:
Runtime error
Runtime error
change
Browse files- __pycache__/app.cpython-311.pyc +0 -0
- 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/
|
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)
|