fschwartzer commited on
Commit
c83239a
1 Parent(s): db72775

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -189,7 +189,12 @@ with st.sidebar:
189
  if int(data_tipo['Vaga'].min()) != 0 and int(data_tipo['Vaga'].max()) != 0:
190
  vaga_range = st.slider('Vaga de estacionamento', int(data_tipo['Vaga'].min()), int(data_tipo['Vaga'].max()), (int(data_tipo['Vaga'].min()), int(data_tipo['Vaga'].max())), step=1)
191
 
192
- # Add checkboxes for dummy features
 
 
 
 
 
193
  if int(data_tipo['Elevador'].min()) != 0 and int(data_tipo['Elevador'].max()) != 0:
194
  elev_checkbox = st.checkbox('Elevador')
195
  if int(data_tipo['Churrasq'].min()) != 0 and int(data_tipo['Churrasq'].max()) != 0:
 
189
  if int(data_tipo['Vaga'].min()) != 0 and int(data_tipo['Vaga'].max()) != 0:
190
  vaga_range = st.slider('Vaga de estacionamento', int(data_tipo['Vaga'].min()), int(data_tipo['Vaga'].max()), (int(data_tipo['Vaga'].min()), int(data_tipo['Vaga'].max())), step=1)
191
 
192
+ # Initialize checkbox variables
193
+ elev_checkbox = False
194
+ churr_checkbox = False
195
+ esq_checkbox = False
196
+
197
+ # Add checkboxes for dummy features
198
  if int(data_tipo['Elevador'].min()) != 0 and int(data_tipo['Elevador'].max()) != 0:
199
  elev_checkbox = st.checkbox('Elevador')
200
  if int(data_tipo['Churrasq'].min()) != 0 and int(data_tipo['Churrasq'].max()) != 0: