assimaram commited on
Commit
71b5217
·
verified ·
1 Parent(s): d23ce93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
21
 
22
 
23
  @tool
24
- def wikipedia_search(query, sentences=2):
25
  """A tool that search a definition on wikipedia
26
  Args:
27
  arg1: the query to fetch the defition for
 
21
 
22
 
23
  @tool
24
+ def wikipedia_search(query: str, sentences : int =2):
25
  """A tool that search a definition on wikipedia
26
  Args:
27
  arg1: the query to fetch the defition for