Spaces:
Runtime error
Runtime error
finiteautomata
commited on
Commit
•
796398a
1
Parent(s):
bff7a05
Change button
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ context = st.text_input("Contexto", "China prohíbe la cría de perros para cons
|
|
42 |
text = st.text_input("Comentario", "Chinos hdrmp hay que matarlos a todos")
|
43 |
|
44 |
# Create a button to classify
|
45 |
-
if st.button("
|
46 |
# Classify the text
|
47 |
prediction = predict(text, context)
|
48 |
# Print the classification
|
|
|
42 |
text = st.text_input("Comentario", "Chinos hdrmp hay que matarlos a todos")
|
43 |
|
44 |
# Create a button to classify
|
45 |
+
if st.button("Predict"):
|
46 |
# Classify the text
|
47 |
prediction = predict(text, context)
|
48 |
# Print the classification
|