Update app.py
Browse files
app.py
CHANGED
@@ -1 +1,6 @@
|
|
1 |
-
print("first test for hugging face")
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
print("first test for hugging face")
|
2 |
+
# Load model directly
|
3 |
+
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
4 |
+
|
5 |
+
tokenizer = AutoTokenizer.from_pretrained("Remicm/sentiment-analysis-model-for-socialmedia")
|
6 |
+
model = AutoModelForSequenceClassification.from_pretrained("Remicm/sentiment-analysis-model-for-socialmedia")
|