shukdevdatta123 commited on
Commit
a6d730e
·
verified ·
1 Parent(s): e5dabf3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -3
app.py CHANGED
@@ -93,10 +93,15 @@ if sidebar_option == "Introductory Tutorial":
93
  ("Algorithms: Greedy Coloring", "Colors nodes so that no two adjacent nodes share the same color. For example, in exam scheduling, this ensures no two overlapping exams are assigned the same room.")
94
  ]
95
 
 
 
 
 
 
 
96
  for title, desc in descriptions:
97
- st.subheader(title) # Removed the ### here
98
- st.write(desc)
99
- st.write("---")
100
 
101
  def plot_greedy_coloring(graph):
102
  # Apply greedy coloring
 
93
  ("Algorithms: Greedy Coloring", "Colors nodes so that no two adjacent nodes share the same color. For example, in exam scheduling, this ensures no two overlapping exams are assigned the same room.")
94
  ]
95
 
96
+ # for title, desc in descriptions:
97
+ # st.subheader(title) # Removed the ### here
98
+ # st.write(desc)
99
+ # st.write("---")
100
+
101
+ # Loop through the descriptions and create expanders
102
  for title, desc in descriptions:
103
+ with st.expander(title):
104
+ st.write(desc)
 
105
 
106
  def plot_greedy_coloring(graph):
107
  # Apply greedy coloring