fschwartzer commited on
Commit
3a35340
1 Parent(s): bf9d042

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -182,9 +182,9 @@ with st.sidebar:
182
  # Add sliders to filter data based
183
  atotal_range = st.slider('脕rea Total', float(data['Atotal'].min()), float(data['Atotal'].max()), (float(data['Atotal'].min()), float(data['Atotal'].max())), step=.1)
184
  apriv_range = st.slider('脕rea Privativa', float(data['Apriv'].min()), float(data['Apriv'].max()), (float(data['Apriv'].min()), float(data['Apriv'].max())), step=.1)
185
- dorm_range = st.slider('Dormit贸rios', float(data['Dorm'].min()), float(data['Dorm'].max()), (float(data['Dorm'].min()), float(data['Dorm'].max())), step=1.)
186
- banho_range = st.slider('Banheiros', float(data['Banheiro'].min()), float(data['Banheiro'].max()), (float(data['Banheiro'].min()), float(data['Banheiro'].max())), step=1.)
187
- vaga_range = st.slider('Vaga de estacionamento', float(data['Vaga'].min()), float(data['Vaga'].max()), (float(data['Vaga'].min()), float(data['Vaga'].max())), step=1.)
188
 
189
  # Add checkboxes for dummy features
190
  elev_checkbox = st.checkbox('Elevador')
 
182
  # Add sliders to filter data based
183
  atotal_range = st.slider('脕rea Total', float(data['Atotal'].min()), float(data['Atotal'].max()), (float(data['Atotal'].min()), float(data['Atotal'].max())), step=.1)
184
  apriv_range = st.slider('脕rea Privativa', float(data['Apriv'].min()), float(data['Apriv'].max()), (float(data['Apriv'].min()), float(data['Apriv'].max())), step=.1)
185
+ dorm_range = st.slider('Dormit贸rios', int(data['Dorm'].min()), int(data['Dorm'].max()), (int(data['Dorm'].min()), int(data['Dorm'].max())), step=1)
186
+ banho_range = st.slider('Banheiros', int(data['Banheiro'].min()), int(data['Banheiro'].max()), (int(data['Banheiro'].min()), int(data['Banheiro'].max())), step=1)
187
+ vaga_range = st.slider('Vaga de estacionamento', int(data['Vaga'].min()), int(data['Vaga'].max()), (int(data['Vaga'].min()), int(data['Vaga'].max())), step=1)
188
 
189
  # Add checkboxes for dummy features
190
  elev_checkbox = st.checkbox('Elevador')