bennitoti commited on
Commit
7944119
·
verified ·
1 Parent(s): 6d58997

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def my_custom_tool(arg1:str)-> str: #it's import to specify the return type
28
  data=data)
29
 
30
  with urllib.request.urlopen(req, timeout=10) as resp:
31
- return (json.load(resp))
32
 
33
 
34
  @tool
 
28
  data=data)
29
 
30
  with urllib.request.urlopen(req, timeout=10) as resp:
31
+ return (json.load(resp))
32
 
33
 
34
  @tool