ahmedJaafari commited on
Commit
11d7280
1 Parent(s): d5800f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -98,9 +98,9 @@ col1, col2, col3, col4, col5 = st.columns([2, 3, 2, 3, 4])
98
  cols = [col1, col2, col3, col4, col5]
99
 
100
  for i, option in enumerate(options):
101
- checked = cols[i].checkbox(headers_mapping[option], value=True)
102
- if checked:
103
- selected_options.append(headers_mapping[option])
104
 
105
  arabic_options = [e.split("/")[1] for e in selected_options]
106
  df['id'] = df.index
@@ -109,7 +109,10 @@ selected_headers = [headers_mapping[request] for request in arabic_options]
109
 
110
  # select interventions
111
  st.markdown("👇 **View past or planned interventions / عرض عمليات المساعدة السابقة أو المخطط لها**")
112
- show_interventions = st.checkbox("Display Interventions عرض التدخلات", value=True)
 
 
 
113
 
114
  m = folium.Map(
115
  location=[31.228674, -7.992047],
 
98
  cols = [col1, col2, col3, col4, col5]
99
 
100
  for i, option in enumerate(options):
101
+ #checked = cols[i].checkbox(headers_mapping[option], value=True)
102
+ #if checked:
103
+ selected_options.append(headers_mapping[option])
104
 
105
  arabic_options = [e.split("/")[1] for e in selected_options]
106
  df['id'] = df.index
 
109
 
110
  # select interventions
111
  st.markdown("👇 **View past or planned interventions / عرض عمليات المساعدة السابقة أو المخطط لها**")
112
+ #show_interventions = st.checkbox("Display Interventions عرض التدخلات", value=True)
113
+
114
+ show_interventions = True
115
+
116
 
117
  m = folium.Map(
118
  location=[31.228674, -7.992047],