Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ def get_cluster_jsons(cluster_to_restaurants):
|
|
91 |
|
92 |
def visualise_on_map(jsons):
|
93 |
# Create map (you can center it later using a known location or one of the features)
|
94 |
-
m =
|
95 |
|
96 |
# Loop through all cluster GeoJSONs and add them to the map
|
97 |
for i, geojson in enumerate(jsons):
|
@@ -203,7 +203,7 @@ with gr.Blocks(title="Restaurant Clustering Tool") as app:
|
|
203 |
output_text = gr.Markdown()
|
204 |
|
205 |
with gr.Row():
|
206 |
-
output_plot = Folium(value=Map(location=[12.935656, 77.543204], zoom_start=12), height=
|
207 |
|
208 |
cluster_btn.click(
|
209 |
fn=run_clustering,
|
|
|
91 |
|
92 |
def visualise_on_map(jsons):
|
93 |
# Create map (you can center it later using a known location or one of the features)
|
94 |
+
m = Map(location=[12.935656, 77.543204], zoom_start=12)
|
95 |
|
96 |
# Loop through all cluster GeoJSONs and add them to the map
|
97 |
for i, geojson in enumerate(jsons):
|
|
|
203 |
output_text = gr.Markdown()
|
204 |
|
205 |
with gr.Row():
|
206 |
+
output_plot = Folium(value=Map(location=[12.935656, 77.543204], zoom_start=12), height=1000)
|
207 |
|
208 |
cluster_btn.click(
|
209 |
fn=run_clustering,
|