ankush-003 commited on
Commit
cc02f09
·
verified ·
1 Parent(s): edd2633

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -163,7 +163,7 @@ def run_clustering(num_clusters, clusters_to_display):
163
  def update_display(clusters_to_display):
164
 
165
  if clusters_jsons is None:
166
- return "Please run clustering first", None
167
 
168
  # Ensure we don't try to show more clusters than exist
169
  if clusters_to_display > len(clusters_jsons):
 
163
  def update_display(clusters_to_display):
164
 
165
  if clusters_jsons is None:
166
+ return Map(location=[12.935656, 77.543204], zoom_start=12)
167
 
168
  # Ensure we don't try to show more clusters than exist
169
  if clusters_to_display > len(clusters_jsons):