Spaces:
Sleeping
Sleeping
Update my_tools.py
Browse files- my_tools.py +2 -0
my_tools.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
from smolagents import tool
|
2 |
from typing import Optional
|
|
|
|
|
3 |
|
4 |
@tool
|
5 |
def get_weather(location: str, celsius: Optional[bool] = False) -> str:
|
|
|
1 |
from smolagents import tool
|
2 |
from typing import Optional
|
3 |
+
import requests
|
4 |
+
import pytz
|
5 |
|
6 |
@tool
|
7 |
def get_weather(location: str, celsius: Optional[bool] = False) -> str:
|