Update app.py
Browse files
app.py
CHANGED
@@ -10,24 +10,25 @@ def create_amygdala_hijacking_graph():
|
|
10 |
g.attr('node', shape='oval', fontname='Arial', fontsize='16', fontcolor='black')
|
11 |
g.attr('edge', fontname='Arial', fontsize='12', fontcolor='blue')
|
12 |
|
13 |
-
g.node('1', 'Sensory Input', shape='rect', style='filled', fillcolor='lightblue')
|
14 |
-
g.node('2', 'Thalamus', shape='ellipse', style='filled', fillcolor='lightgreen')
|
15 |
-
g.node('3', 'Amygdala', shape='ellipse', color='red', style='filled', fillcolor='red', fontcolor='white')
|
16 |
-
g.node('4', 'Hippocampus', shape='ellipse', style='filled', fillcolor='lightyellow')
|
17 |
-
g.node('5', 'Prefrontal Cortex', shape='ellipse', style='filled', fillcolor='lightpink')
|
18 |
-
g.node('6', 'Response', shape='rect', style='filled', fillcolor='lightgray')
|
19 |
-
|
20 |
-
g.edge('1', '2', label='Receives Signals')
|
21 |
-
g.edge('2', '3', label='Quick, Emotional Response')
|
22 |
-
g.edge('2', '4', label='Sends Signals To')
|
23 |
-
g.edge('4', '5', label='Relays Information')
|
24 |
-
g.edge('5', '3', label='Rational Control (If Not Hijacked)')
|
25 |
-
g.edge('3', '6', label='Generates Response')
|
26 |
|
27 |
return g
|
28 |
|
29 |
|
30 |
|
|
|
31 |
def main():
|
32 |
st.title("Amygdala Hijacking Visualization")
|
33 |
st.text("A simple graph model to represent amygdala hijacking in the brain.")
|
|
|
10 |
g.attr('node', shape='oval', fontname='Arial', fontsize='16', fontcolor='black')
|
11 |
g.attr('edge', fontname='Arial', fontsize='12', fontcolor='blue')
|
12 |
|
13 |
+
g.node('1', 'π Sensory Input', shape='rect', style='filled', fillcolor='lightblue')
|
14 |
+
g.node('2', 'π‘ Thalamus', shape='ellipse', style='filled', fillcolor='lightgreen')
|
15 |
+
g.node('3', 'π΄ Amygdala', shape='ellipse', color='red', style='filled', fillcolor='red', fontcolor='white')
|
16 |
+
g.node('4', 'π Hippocampus', shape='ellipse', style='filled', fillcolor='lightyellow')
|
17 |
+
g.node('5', 'π‘ Prefrontal Cortex', shape='ellipse', style='filled', fillcolor='lightpink')
|
18 |
+
g.node('6', 'π¬ Response', shape='rect', style='filled', fillcolor='lightgray')
|
19 |
+
|
20 |
+
g.edge('1', '2', label='π Receives Signals')
|
21 |
+
g.edge('2', '3', label='β‘ Quick, Emotional Response')
|
22 |
+
g.edge('2', '4', label='π Sends Signals To')
|
23 |
+
g.edge('4', '5', label='π Relays Information')
|
24 |
+
g.edge('5', '3', label='π§ Rational Control (If Not Hijacked)')
|
25 |
+
g.edge('3', '6', label='π Generates Response')
|
26 |
|
27 |
return g
|
28 |
|
29 |
|
30 |
|
31 |
+
|
32 |
def main():
|
33 |
st.title("Amygdala Hijacking Visualization")
|
34 |
st.text("A simple graph model to represent amygdala hijacking in the brain.")
|