RemVdH commited on
Commit
77cda40
·
verified ·
1 Parent(s): 3594eb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def search_wikipedia_pages(search_string: str) -> List[str]:
27
  print (f"An error occured {s_error}")
28
 
29
  @tool
30
- def get_wikipedia_page_content(page_name: str, p_summary=True: bool) -> str:
31
  """This tool helps to get the content of wikipedia pages by their name.
32
  If you use this tool based on the output of search_wikipedia_pages
33
  than remember to try a next string that was the output of search_wikipedia_pages if you get a error: Page id
 
27
  print (f"An error occured {s_error}")
28
 
29
  @tool
30
+ def get_wikipedia_page_content(page_name: str, p_summary: bool = True) -> str:
31
  """This tool helps to get the content of wikipedia pages by their name.
32
  If you use this tool based on the output of search_wikipedia_pages
33
  than remember to try a next string that was the output of search_wikipedia_pages if you get a error: Page id