ankush-003 commited on
Commit
8780754
·
verified ·
1 Parent(s): ebc2986

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = folium.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,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=400)
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,