Spaces:
Runtime error
Runtime error
Rob Caamano commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,12 +8,12 @@ from transformers import (
|
|
| 8 |
st.title("Classifier")
|
| 9 |
|
| 10 |
demo_options = {
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
-
"
|
| 14 |
-
"
|
| 15 |
-
"
|
| 16 |
-
"
|
| 17 |
}
|
| 18 |
|
| 19 |
selected_demo = st.selectbox("Demos", options=list(demo_options.keys()))
|
|
|
|
| 8 |
st.title("Classifier")
|
| 9 |
|
| 10 |
demo_options = {
|
| 11 |
+
"Non-toxic": "Had a wonderful weekend at the park. Enjoyed the beautiful weather!",
|
| 12 |
+
"Severe-toxic": "WIP",
|
| 13 |
+
"Obscene": "I don't give a fuck about your opinion",
|
| 14 |
+
"Threat": "WIP",
|
| 15 |
+
"Insult": "Are you always this incompetent?",
|
| 16 |
+
"Identity Hate": "WIP",
|
| 17 |
}
|
| 18 |
|
| 19 |
selected_demo = st.selectbox("Demos", options=list(demo_options.keys()))
|