Da-Rabbit-Hole commited on
Commit
1220f77
·
verified ·
1 Parent(s): 11f2b31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -28,13 +28,7 @@ from Gradio_UI import GradioUI
28
  @tool
29
  def get_location_tool(ip: str): str
30
 
31
- return {
32
- 'city': response.city,
33
- 'region': response.region,
34
- 'country': response.country,
35
- 'latitude': response.latitude,
36
- 'longitude': response.longitude
37
- }
38
  """This is a tool that gets the exact location of a user including city, region, country, latitude, and longitude.
39
  Args:
40
  ip: A string representing a valid ip address (e.g., '192.168.10.1')
 
28
  @tool
29
  def get_location_tool(ip: str): str
30
 
31
+
 
 
 
 
 
 
32
  """This is a tool that gets the exact location of a user including city, region, country, latitude, and longitude.
33
  Args:
34
  ip: A string representing a valid ip address (e.g., '192.168.10.1')