Update app.py
Browse files
app.py
CHANGED
@@ -19,11 +19,12 @@ classifier_xml = pipeline("text-classification", model=model_xml)
|
|
19 |
|
20 |
st.title('Diagn贸stico de Trastornos Mentales')
|
21 |
|
22 |
-
sintomas = st.text_input(label = 'Introduce s铆ntomas',
|
23 |
-
value = '
|
24 |
|
25 |
pred_berto = classifier_berto(utils.clean_text(sintomas))
|
26 |
pred_xml = classifier_xml(utils.clean_text(sintomas))
|
27 |
|
28 |
st.markdown('Predicci贸n BERTO: ' + pred_berto[0]['label'])
|
29 |
-
st.markdown('Predicci贸n xml: ' + pred_xml[0]['label'])
|
|
|
|
19 |
|
20 |
st.title('Diagn贸stico de Trastornos Mentales')
|
21 |
|
22 |
+
sintomas = st.text_input(label = 'Introduce s铆ntomas y presiona Enter',
|
23 |
+
value = 'La gente cuando me ve por la calle me mira y halagan mi belleza')
|
24 |
|
25 |
pred_berto = classifier_berto(utils.clean_text(sintomas))
|
26 |
pred_xml = classifier_xml(utils.clean_text(sintomas))
|
27 |
|
28 |
st.markdown('Predicci贸n BERTO: ' + pred_berto[0]['label'])
|
29 |
+
st.markdown('Predicci贸n xml: ' + pred_xml[0]['label'])
|
30 |
+
|