Spaces:
Runtime error
Runtime error
Commit
•
3846c88
1
Parent(s):
4ebac20
added sentiment predictions
Browse files
app.py
CHANGED
@@ -68,9 +68,9 @@ input_text = st.text_input(
|
|
68 |
)
|
69 |
|
70 |
# desirability model
|
71 |
-
model_path = '/nlp/nlp/models/finetuned/twitter-xlm-roberta-base-regressive-desirability-ft-4'
|
72 |
-
|
73 |
-
|
74 |
auth_token = "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"
|
75 |
|
76 |
|
|
|
68 |
)
|
69 |
|
70 |
# desirability model
|
71 |
+
#model_path = '/nlp/nlp/models/finetuned/twitter-xlm-roberta-base-regressive-desirability-ft-4'
|
72 |
+
model_path = 'magnolia-psychometrics/item-desirability'
|
73 |
+
auth_token = os.environ.get("item-desirability") or True
|
74 |
auth_token = "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"
|
75 |
|
76 |
|