Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
20 |
return "What magic will you build ?"
|
21 |
|
22 |
@tool
|
23 |
-
def get_weather(city: str)
|
24 |
url = f"https://www.weather.com/weather/today/l/{city}"
|
25 |
response = requests.get(url)
|
26 |
soup = BeautifulSoup(response.content, 'html.parser')
|
|
|
20 |
return "What magic will you build ?"
|
21 |
|
22 |
@tool
|
23 |
+
def get_weather(city: str)-> str:
|
24 |
url = f"https://www.weather.com/weather/today/l/{city}"
|
25 |
response = requests.get(url)
|
26 |
soup = BeautifulSoup(response.content, 'html.parser')
|