Update app.py
Browse files
app.py
CHANGED
@@ -72,9 +72,34 @@ def diabetic_pedigree_function(mother, father, siblings):
|
|
72 |
|
73 |
|
74 |
if "question_no" not in st.session_state:
|
75 |
-
st.session_state.question_no =
|
76 |
-
|
77 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
if st.session_state.question_no == 1:
|
79 |
|
80 |
progress = st.progress((st.session_state.question_no) / 10)
|
|
|
72 |
|
73 |
|
74 |
if "question_no" not in st.session_state:
|
75 |
+
st.session_state.question_no = 0
|
76 |
+
|
77 |
+
|
78 |
+
|
79 |
+
st.markdown("""
|
80 |
+
<style>
|
81 |
+
#waterMark{
|
82 |
+
position:fixed;
|
83 |
+
top: 20%;
|
84 |
+
user-select: none;
|
85 |
+
left: 11%;
|
86 |
+
font-size: 2200%;
|
87 |
+
font: bold;
|
88 |
+
letter-spacing: 100%;
|
89 |
+
/* transform: rotate(-33deg); */
|
90 |
+
color: rgb(195, 114, 44);
|
91 |
+
/* -webkit-text-stroke: 2px rgb(0, 0, 64); */
|
92 |
+
|
93 |
+
font-family: "Imperial Script", serif;
|
94 |
+
font-weight: 400;
|
95 |
+
font-style: normal;
|
96 |
+
}
|
97 |
+
</style>
|
98 |
+
<div id="waterMark">
|
99 |
+
Life-Glyc
|
100 |
+
</div>
|
101 |
+
""",
|
102 |
+
unsafe_allow_html = True)
|
103 |
if st.session_state.question_no == 1:
|
104 |
|
105 |
progress = st.progress((st.session_state.question_no) / 10)
|