Spaces:
Running
Running
Upload tool
Browse files
tool.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
from typing import Any, Optional
|
| 2 |
from smolagents.tools import Tool
|
| 3 |
-
import logging
|
| 4 |
-
import aiohttp
|
| 5 |
import asyncio
|
|
|
|
| 6 |
import json
|
|
|
|
| 7 |
|
| 8 |
class UserLocationTool(Tool):
|
| 9 |
name = "get_user_location"
|
|
|
|
| 1 |
from typing import Any, Optional
|
| 2 |
from smolagents.tools import Tool
|
|
|
|
|
|
|
| 3 |
import asyncio
|
| 4 |
+
import logging
|
| 5 |
import json
|
| 6 |
+
import aiohttp
|
| 7 |
|
| 8 |
class UserLocationTool(Tool):
|
| 9 |
name = "get_user_location"
|