Da-Rabbit-Hole commited on
Commit
44e6b59
·
verified ·
1 Parent(s): dd2c3ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -50,13 +50,13 @@ 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
 
62
 
 
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
 
62