Spaces:
Running
Running
Update app.py
Browse files
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
|
| 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):
|