Hamza3107 commited on
Commit
8c28dd0
·
verified ·
1 Parent(s): d613957

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
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")