awacke1 commited on
Commit
2c9522b
Β·
1 Parent(s): 7138e30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -26
app.py CHANGED
@@ -3,7 +3,8 @@ import graphviz as gv
3
 
4
 
5
  st.set_page_config(page_title="8 Dimensions of Self Care", page_icon=":heart:")
6
- st.title("🌟 Self Care 🌟 - Take Charge of Your Personal Health")
 
7
 
8
  st.markdown("""
9
 
@@ -73,7 +74,6 @@ st.markdown("""
73
  3. Maintain a balanced and nutritious diet
74
  4. Limit alcohol and drug consumption
75
 
76
-
77
  """)
78
 
79
 
@@ -147,27 +147,3 @@ for node, _ in dimensions:
147
  g.edge('B', node)
148
 
149
  st.graphviz_chart(g)
150
-
151
-
152
- g = gv.Graph(format='svg', engine='twopi')
153
-
154
- g.node('B', label="8 Dimensions of Self Care", shape="ellipse", fontsize="14", style="filled", fillcolor="lightblue")
155
-
156
- dimensions = [
157
- ('A', "🌱 Emotional\nHow we feel"),
158
- ('C', "πŸ™ Spiritual\nOur beliefs"),
159
- ('D', "πŸ’° Financial\nHow we manage money"),
160
- ('E', "πŸ’‘ Cognitive\nHow we think"),
161
- ('F', "🎯 Aptitudinal\nOur abilities"),
162
- ('G', "🀝 Relational\nOur connections"),
163
- ('H', "🌍 Environmental\nOur surroundings"),
164
- ('I', "πŸƒβ€β™‚οΈ Physical\nOur bodies"),
165
- ]
166
-
167
- for node, label in dimensions:
168
- g.node(node, label=label, shape="ellipse", fontsize="12", style="filled", fillcolor="lightgoldenrodyellow")
169
-
170
- for node, _ in dimensions:
171
- g.edge('B', node)
172
-
173
- st.graphviz_chart(g)
 
3
 
4
 
5
  st.set_page_config(page_title="8 Dimensions of Self Care", page_icon=":heart:")
6
+ st.title("🌟 Self Care 🌟")
7
+ st.markdown("#### Take Charge of Your Personal Health")
8
 
9
  st.markdown("""
10
 
 
74
  3. Maintain a balanced and nutritious diet
75
  4. Limit alcohol and drug consumption
76
 
 
77
  """)
78
 
79
 
 
147
  g.edge('B', node)
148
 
149
  st.graphviz_chart(g)