Update app.py
Browse files
app.py
CHANGED
|
@@ -21,4 +21,6 @@ st.title('Diagnóstico de Trastornos Mentales')
|
|
| 21 |
sintomas = st.text_input(label = 'Introduce síntomas',
|
| 22 |
value = 'Nadie me quiere')
|
| 23 |
|
| 24 |
-
|
|
|
|
|
|
|
|
|
| 21 |
sintomas = st.text_input(label = 'Introduce síntomas',
|
| 22 |
value = 'Nadie me quiere')
|
| 23 |
|
| 24 |
+
pred = classifier(utils.clean_text(sintomas))
|
| 25 |
+
|
| 26 |
+
st.markdown(pred[0]['label'])
|