Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +5 -5
src/streamlit_app.py
CHANGED
|
@@ -93,13 +93,13 @@ if st.button("Estou pronto para fazer a previsão", type="primary"):
|
|
| 93 |
|
| 94 |
prediction = model.predict(z)
|
| 95 |
if prediction[0] == 1:
|
| 96 |
-
st.text("
|
| 97 |
elif prediction[0] == 2:
|
| 98 |
-
st.text("
|
| 99 |
elif prediction[0] == 3:
|
| 100 |
-
st.text("
|
| 101 |
elif prediction[0] == 4:
|
| 102 |
-
st.text("
|
| 103 |
elif prediction[0] == 5:
|
| 104 |
-
st.text("
|
| 105 |
|
|
|
|
| 93 |
|
| 94 |
prediction = model.predict(z)
|
| 95 |
if prediction[0] == 1:
|
| 96 |
+
st.text("Azul")
|
| 97 |
elif prediction[0] == 2:
|
| 98 |
+
st.text("Verde")
|
| 99 |
elif prediction[0] == 3:
|
| 100 |
+
st.text("Amarelo")
|
| 101 |
elif prediction[0] == 4:
|
| 102 |
+
st.text("Laranja")
|
| 103 |
elif prediction[0] == 5:
|
| 104 |
+
st.text("Vermelho")
|
| 105 |
|