venkat-srinivasan-nexusflow commited on
Commit
0d7bd44
β€’
1 Parent(s): e4c9429

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +1 -1
tools.py CHANGED
@@ -247,7 +247,6 @@ class Tools:
247
  places = []
248
  print (f"Found {len(places_nearby)}!")
249
  for place_nearby in places_nearby:
250
- print (f"Found {place_nearby}!")
251
  place_location = place_nearby["geometry"]["location"]
252
  distance = self.haversine(
253
  latlong["lng"],
@@ -286,6 +285,7 @@ class Tools:
286
  """
287
  all_reviews = []
288
  for place_name in place_names:
 
289
  if isinstance(place_name, str):
290
  if location and isinstance(location, list) and len(location) > 0:
291
  # Sometimes location will be a list of relevant places from the API.
 
247
  places = []
248
  print (f"Found {len(places_nearby)}!")
249
  for place_nearby in places_nearby:
 
250
  place_location = place_nearby["geometry"]["location"]
251
  distance = self.haversine(
252
  latlong["lng"],
 
285
  """
286
  all_reviews = []
287
  for place_name in place_names:
288
+ print (f"Found {place_name}!")
289
  if isinstance(place_name, str):
290
  if location and isinstance(location, list) and len(location) > 0:
291
  # Sometimes location will be a list of relevant places from the API.