Da-Rabbit-Hole commited on
Commit
f88b369
·
verified ·
1 Parent(s): 37223c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -50,12 +50,12 @@ def get_location_tool(ip: str): str
50
 
51
  Returns: ip address, city, region, country, and geo coordinates
52
  """
53
- return {
54
- 'city': response.city,
55
- 'region': response.region,
56
- 'country': response.country,
57
- 'latitude': response.latitude,
58
- 'longitude': response.longitude
59
  }
60
  response = DbIpCity.get(ip, api_key='free')
61
 
 
50
 
51
  Returns: ip address, city, region, country, and geo coordinates
52
  """
53
+ return {
54
+ 'city': response.city,
55
+ 'region': response.region,
56
+ 'country': response.country,
57
+ 'latitude': response.latitude,
58
+ 'longitude': response.longitude
59
  }
60
  response = DbIpCity.get(ip, api_key='free')
61