Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ from scipy.special import softmax
|
|
| 10 |
#import the model
|
| 11 |
tokenizer = AutoTokenizer.from_pretrained('distilbert-base-uncased')
|
| 12 |
|
| 13 |
-
model_path = f"
|
| 14 |
config = AutoConfig.from_pretrained(model_path)
|
| 15 |
model = AutoModelForSequenceClassification.from_pretrained(model_path)
|
| 16 |
#Set the page configs
|
|
|
|
| 10 |
#import the model
|
| 11 |
tokenizer = AutoTokenizer.from_pretrained('distilbert-base-uncased')
|
| 12 |
|
| 13 |
+
model_path = f"penscola/tweet_sentiments_analysis_distilbert"
|
| 14 |
config = AutoConfig.from_pretrained(model_path)
|
| 15 |
model = AutoModelForSequenceClassification.from_pretrained(model_path)
|
| 16 |
#Set the page configs
|