Junaidb commited on
Commit
3517598
·
verified ·
1 Parent(s): 1bd1714

Update ui.py

Browse files
Files changed (1) hide show
  1. ui.py +3 -3
ui.py CHANGED
@@ -76,8 +76,8 @@ def APP():
76
  format_func=lambda option: option_map[option],
77
  selection_mode="single",
78
  )
79
- match selection:
80
- case 0:
81
  st.markdown("<p style='color:white;background-color:orange'> Nanobody [CANCER targeted]</p>",unsafe_allow_html=True)
82
  with st.form("bio",border=False):
83
 
@@ -131,7 +131,7 @@ def APP():
131
  st.error("Please fill in both username and project name before submitting")
132
 
133
 
134
- case 1:
135
  st.markdown("<p style='color:white;background-color:orange'>Vaccine [Supported] </p>",unsafe_allow_html=True)
136
  st.code("coming soon")
137
 
 
76
  format_func=lambda option: option_map[option],
77
  selection_mode="single",
78
  )
79
+ #match selection:
80
+ if selection == 0:
81
  st.markdown("<p style='color:white;background-color:orange'> Nanobody [CANCER targeted]</p>",unsafe_allow_html=True)
82
  with st.form("bio",border=False):
83
 
 
131
  st.error("Please fill in both username and project name before submitting")
132
 
133
 
134
+ if selection == 1:
135
  st.markdown("<p style='color:white;background-color:orange'>Vaccine [Supported] </p>",unsafe_allow_html=True)
136
  st.code("coming soon")
137