Stremie commited on
Commit
5ec754d
1 Parent(s): 4d61f17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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
- st.markdown(classifier(utils.clean_text(sintomas)))
 
 
 
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'])