Spaces:
Sleeping
Sleeping
Commit
·
12ee82e
1
Parent(s):
1705ae0
cast to int
Browse files
app.py
CHANGED
|
@@ -45,10 +45,10 @@ with gr.Blocks(title="Interactive Wave Plotter") as demo:
|
|
| 45 |
|
| 46 |
with gr.Row():
|
| 47 |
frequency_slider = gr.Slider(
|
| 48 |
-
minimum=unique_domain_lengths.min(),
|
| 49 |
-
maximum=unique_domain_lengths.max(),
|
| 50 |
step=1,
|
| 51 |
-
value=unique_domain_lengths.min(),
|
| 52 |
label="Min number of domains"
|
| 53 |
)
|
| 54 |
|
|
@@ -86,5 +86,5 @@ with gr.Blocks(title="Interactive Wave Plotter") as demo:
|
|
| 86 |
|
| 87 |
|
| 88 |
print(f"Launching!...")
|
| 89 |
-
demo.launch(
|
| 90 |
# demo.load(filter_map, [min_price, max_price, boroughs], map)
|
|
|
|
| 45 |
|
| 46 |
with gr.Row():
|
| 47 |
frequency_slider = gr.Slider(
|
| 48 |
+
minimum=int(unique_domain_lengths.min()),
|
| 49 |
+
maximum=int(unique_domain_lengths.max()),
|
| 50 |
step=1,
|
| 51 |
+
value=int(unique_domain_lengths.min()),
|
| 52 |
label="Min number of domains"
|
| 53 |
)
|
| 54 |
|
|
|
|
| 86 |
|
| 87 |
|
| 88 |
print(f"Launching!...")
|
| 89 |
+
demo.launch()
|
| 90 |
# demo.load(filter_map, [min_price, max_price, boroughs], map)
|