Update app.py
Browse files
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(
|
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:
|