knt21 commited on
Commit
1a7ca76
·
verified ·
1 Parent(s): d4b7bce

Update app.py

Browse files

Removed extra comments in weather tool

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,8 +20,8 @@ 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(location:str)-> str: #it's import to specify the return type
24
- #Keep this format for the description / args / args description but feel free to modify the tool
25
  """A tool that fetches the current weather data for the specified location.
26
  Args:
27
  location: A string representung a valid location (e.g.,'New_York','Mumbai','Sydney')
 
20
  return "What magic will you build ?"
21
 
22
  @tool
23
+ def get_weather(location:str)-> str:
24
+
25
  """A tool that fetches the current weather data for the specified location.
26
  Args:
27
  location: A string representung a valid location (e.g.,'New_York','Mumbai','Sydney')