Spaces:
Sleeping
Sleeping
Commit
·
2e6a5a3
1
Parent(s):
82c141f
updated again
Browse files
app.py
CHANGED
|
@@ -10,6 +10,7 @@ from pyphonetics import RefinedSoundex
|
|
| 10 |
from bs4 import BeautifulSoup
|
| 11 |
import re
|
| 12 |
|
|
|
|
| 13 |
|
| 14 |
# Load sentiment analysis model and tokenizer
|
| 15 |
tokenizer = AutoTokenizer.from_pretrained("Seethal/sentiment_analysis_generic_dataset")
|
|
|
|
| 10 |
from bs4 import BeautifulSoup
|
| 11 |
import re
|
| 12 |
|
| 13 |
+
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 14 |
|
| 15 |
# Load sentiment analysis model and tokenizer
|
| 16 |
tokenizer = AutoTokenizer.from_pretrained("Seethal/sentiment_analysis_generic_dataset")
|