Rozeeeee commited on
Commit
7fece1f
Β·
verified Β·
1 Parent(s): 10b56da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -36,10 +36,7 @@ for url in urls:
36
  description_tag = soup.find('div', class_='restaurant-details__description--text')
37
  description = description_tag.text.strip() if description_tag else 'N/A'
38
 
39
- # Geocode address to get latitude and longitude
40
- location = geolocator.geocode(address) if address != 'N/A' else None
41
- lat = location.latitude if location else None
42
- lon = location.longitude if location else None
43
 
44
  # ε°‡ζŠ“ε–ηš„θ³‡ζ–™ζ–°ε’žεˆ°εˆ—θ‘¨δΈ­
45
  df_list.append({
 
36
  description_tag = soup.find('div', class_='restaurant-details__description--text')
37
  description = description_tag.text.strip() if description_tag else 'N/A'
38
 
39
+
 
 
 
40
 
41
  # ε°‡ζŠ“ε–ηš„θ³‡ζ–™ζ–°ε’žεˆ°εˆ—θ‘¨δΈ­
42
  df_list.append({