sicknick32 commited on
Commit
63c6c74
·
verified ·
1 Parent(s): d75ef08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -10,8 +10,7 @@ from Gradio_UI import GradioUI
10
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
  @tool
12
  def get_location(arg1:str, arg2:int)-> str:
13
- """Retrieves the users approximate location using there ip address."""
14
- try:
15
  response = requests.get("https://ipinfo.io.json")
16
  data = response.json()
17
  location_info = {
 
10
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
  @tool
12
  def get_location(arg1:str, arg2:int)-> str:
13
+ """Retrieves the users approximate location using there ip address."""
 
14
  response = requests.get("https://ipinfo.io.json")
15
  data = response.json()
16
  location_info = {