lucifer7210 commited on
Commit
2a1e3e4
·
verified ·
1 Parent(s): 1ec5213

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ class StoreLocator:
79
  self.spatial_index = self._build_spatial_index()
80
 
81
  @lru_cache(maxsize=50)
82
- def initialize_graph(self, center_point, dist=10000): # Reduced distance for memory optimization
83
  """Initialize road network graph with caching"""
84
  cache_key = f"{center_point[0]}_{center_point[1]}"
85
  if cache_key in self.graph_cache:
 
79
  self.spatial_index = self._build_spatial_index()
80
 
81
  @lru_cache(maxsize=50)
82
+ def initialize_graph(self, center_point, dist=30000): # Reduced distance for memory optimization
83
  """Initialize road network graph with caching"""
84
  cache_key = f"{center_point[0]}_{center_point[1]}"
85
  if cache_key in self.graph_cache: