Spaces:
Running
Running
imperialwool
commited on
Commit
•
8fffd9d
1
Parent(s):
198c95c
TRYING SMTH
Browse files
app.py
CHANGED
@@ -91,8 +91,8 @@ def getBMFull(): return osuApi.getFull(request)
|
|
91 |
|
92 |
###############
|
93 |
# LOAD MODELS
|
94 |
-
sa_t, sa_m = AutoTokenizer.from_pretrained("cardiffnlp/twitter-xlm-roberta-base-sentiment"
|
95 |
-
ld_t, ld_m = AutoTokenizer.from_pretrained("papluca/xlm-roberta-base-language-detection"
|
96 |
|
97 |
##############
|
98 |
# ANALYZE DATA API
|
|
|
91 |
|
92 |
###############
|
93 |
# LOAD MODELS
|
94 |
+
sa_t, sa_m = AutoTokenizer.from_pretrained("cardiffnlp/twitter-xlm-roberta-base-sentiment"), AutoModelForSequenceClassification.from_pretrained("cardiffnlp/twitter-xlm-roberta-base-sentiment")
|
95 |
+
ld_t, ld_m = AutoTokenizer.from_pretrained("papluca/xlm-roberta-base-language-detection"), AutoModelForSequenceClassification.from_pretrained("papluca/xlm-roberta-base-language-detection")
|
96 |
|
97 |
##############
|
98 |
# ANALYZE DATA API
|