Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def preprocess(text):
|
|
| 17 |
|
| 18 |
st.title("Toxicity Classification App")
|
| 19 |
|
| 20 |
-
user_input = st.text_input("Input texts to analyze", "Cody Jiang is a
|
| 21 |
|
| 22 |
model_names = ['distilbert-base-uncased-finetuned-sst-2-english', 'Codys-Finetuning-Language-Model']
|
| 23 |
model_name = st.selectbox("Select a pretrained model", model_names)
|
|
|
|
| 17 |
|
| 18 |
st.title("Toxicity Classification App")
|
| 19 |
|
| 20 |
+
user_input = st.text_input("Input texts to analyze", "Cody Jiang is a happy boy!")
|
| 21 |
|
| 22 |
model_names = ['distilbert-base-uncased-finetuned-sst-2-english', 'Codys-Finetuning-Language-Model']
|
| 23 |
model_name = st.selectbox("Select a pretrained model", model_names)
|