Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
2 |
|
3 |
-
tokenizer = AutoTokenizer.from_pretrained("Imran1/sentimen_analysis_yelp"
|
4 |
|
5 |
-
model = AutoModelForSequenceClassification.from_pretrained("Imran1/sentimen_analysis_yelp"
|
6 |
|
7 |
from transformers import pipeline
|
8 |
Data= pipeline("text-classification", model=model, tokenizer=tokenizer,top_k=5)
|
|
|
1 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
2 |
|
3 |
+
tokenizer = AutoTokenizer.from_pretrained("Imran1/sentimen_analysis_yelp")
|
4 |
|
5 |
+
model = AutoModelForSequenceClassification.from_pretrained("Imran1/sentimen_analysis_yelp")
|
6 |
|
7 |
from transformers import pipeline
|
8 |
Data= pipeline("text-classification", model=model, tokenizer=tokenizer,top_k=5)
|