Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,8 +45,8 @@ def filter_map(min_price, max_price, boroughs):
|
|
| 45 |
with gr.Blocks() as demo:
|
| 46 |
with gr.Column():
|
| 47 |
with gr.Row():
|
| 48 |
-
min_price = gr.Number(value=
|
| 49 |
-
max_price = gr.Number(value=
|
| 50 |
boroughs = gr.CheckboxGroup(choices=["Queens", "Brooklyn", "Manhattan", "Bronx", "Staten Island"], value=["Queens", "Brooklyn"], label="Select Boroughs:")
|
| 51 |
btn = gr.Button(value="Update Filter")
|
| 52 |
map = gr.Plot().style()
|
|
|
|
| 45 |
with gr.Blocks() as demo:
|
| 46 |
with gr.Column():
|
| 47 |
with gr.Row():
|
| 48 |
+
min_price = gr.Number(value=50, label="Minimum Price")
|
| 49 |
+
max_price = gr.Number(value=300, label="Maximum Price")
|
| 50 |
boroughs = gr.CheckboxGroup(choices=["Queens", "Brooklyn", "Manhattan", "Bronx", "Staten Island"], value=["Queens", "Brooklyn"], label="Select Boroughs:")
|
| 51 |
btn = gr.Button(value="Update Filter")
|
| 52 |
map = gr.Plot().style()
|