Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,23 +5,34 @@ import json
|
|
5 |
# T铆tulo de la aplicaci贸n
|
6 |
st.title("Predicci贸n de C谩ncer Cervical")
|
7 |
|
8 |
-
# Crear
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
empowerment_knowledge = st.number_input("Empowerment Knowledge", min_value=0.0, max_value=100.0, value=10.0)
|
26 |
empowerment_abilities = st.number_input("Empowerment Abilities", min_value=0.0, max_value=100.0, value=20.0)
|
27 |
empowerment_desires = st.number_input("Empowerment Desires", min_value=0.0, max_value=100.0, value=0.0)
|
|
|
5 |
# T铆tulo de la aplicaci贸n
|
6 |
st.title("Predicci贸n de C谩ncer Cervical")
|
7 |
|
8 |
+
# Crear las tres columnas
|
9 |
+
col1, col2, col3 = st.columns(3)
|
10 |
+
|
11 |
+
# Columna 1
|
12 |
+
with col1:
|
13 |
+
behavior_sexualRisk = st.number_input("Risk Behavior (Sexual)", min_value=0.0, max_value=100.0, value=10.0)
|
14 |
+
behavior_eating = st.number_input("Eating Behavior", min_value=0.0, max_value=100.0, value=10.0)
|
15 |
+
behavior_personalHygine = st.number_input("Personal Hygiene", min_value=0.0, max_value=100.0, value=10.0)
|
16 |
+
intention_aggregation = st.number_input("Intention Aggregation", min_value=0.0, max_value=100.0, value=10.0)
|
17 |
+
intention_commitment = st.number_input("Intention Commitment", min_value=0.0, max_value=100.0, value=10.0)
|
18 |
+
|
19 |
+
# Columna 2
|
20 |
+
with col2:
|
21 |
+
attitude_consistency = st.number_input("Attitude Consistency", min_value=0.0, max_value=100.0, value=10.0)
|
22 |
+
attitude_spontaneity = st.number_input("Attitude Spontaneity", min_value=0.0, max_value=100.0, value=0.0)
|
23 |
+
norm_significantPerson = st.number_input("Norm Significant Person", min_value=0.0, max_value=100.0, value=0.0)
|
24 |
+
norm_fulfillment = st.number_input("Norm Fulfillment", min_value=0.0, max_value=100.0, value=0.0)
|
25 |
+
perception_vulnerability = st.number_input("Perception Vulnerability", min_value=0.0, max_value=100.0, value=0.0)
|
26 |
+
|
27 |
+
# Columna 3
|
28 |
+
with col3:
|
29 |
+
perception_severity = st.number_input("Perception Severity", min_value=0.0, max_value=100.0, value=0.0)
|
30 |
+
motivation_strength = st.number_input("Motivation Strength", min_value=0.0, max_value=100.0, value=0.34)
|
31 |
+
motivation_willingness = st.number_input("Motivation Willingness", min_value=0.0, max_value=100.0, value=0.54)
|
32 |
+
socialSupport_emotionality = st.number_input("Social Support Emotionality", min_value=0.0, max_value=100.0, value=0.0)
|
33 |
+
socialSupport_appreciation = st.number_input("Social Support Appreciation", min_value=0.0, max_value=100.0, value=0.0)
|
34 |
+
|
35 |
+
# Crear el 煤ltimo campo fuera de las columnas
|
36 |
empowerment_knowledge = st.number_input("Empowerment Knowledge", min_value=0.0, max_value=100.0, value=10.0)
|
37 |
empowerment_abilities = st.number_input("Empowerment Abilities", min_value=0.0, max_value=100.0, value=20.0)
|
38 |
empowerment_desires = st.number_input("Empowerment Desires", min_value=0.0, max_value=100.0, value=0.0)
|