Spaces:
Sleeping

prige commited on
Commit
3a5c494
·
verified ·
1 Parent(s): 95c7d46

Upload tool

Browse files
Files changed (2) hide show
  1. requirements.txt +1 -1
  2. tool.py +2 -2
requirements.txt CHANGED
@@ -1,2 +1,2 @@
1
- aiohttp
2
  smolagents
 
 
 
1
  smolagents
2
+ aiohttp
tool.py CHANGED
@@ -1,9 +1,9 @@
1
  from typing import Any, Optional
2
  from smolagents.tools import Tool
3
- import aiohttp
4
- import json
5
  import asyncio
 
6
  import logging
 
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 json
5
  import logging
6
+ import aiohttp
7
 
8
  class UserLocationTool(Tool):
9
  name = "get_user_location"