K00B404 commited on
Commit
e7bfe63
·
verified ·
1 Parent(s): 5e6975b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def register_tool(tool_data):
17
  response = requests.post("https://huggingface.co/chat/tools/new", json=tool_data)
18
  return response.json()
19
 
20
- def create_tool(tool_name: str, tool_data: Dict[str, Any]):
21
  """Create a new tool script in the tools folder.
22
 
23
  Args:
 
17
  response = requests.post("https://huggingface.co/chat/tools/new", json=tool_data)
18
  return response.json()
19
 
20
+ def create_tool(tool_data: Dict[str, Any]):
21
  """Create a new tool script in the tools folder.
22
 
23
  Args: