WeByT3 commited on
Commit
02acb02
·
verified ·
1 Parent(s): 62fc861

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +1 -1
tools.py CHANGED
@@ -83,7 +83,7 @@ def search_wikipedia(page_title: str, language: str) -> str:
83
 
84
  for i, table in enumerate(tables):
85
  if isinstance(table, pd.DataFrame):
86
- markdown = table.iloc[:10, :5].to_markdown(index=False)
87
  markdown_tables.append(f"\n---\n**Table {i + 1}:**\n{markdown}")
88
 
89
  table_output = "\n".join(markdown_tables) if markdown_tables else "No tables found on this page."
 
83
 
84
  for i, table in enumerate(tables):
85
  if isinstance(table, pd.DataFrame):
86
+ markdown = table.iloc[:20, :3].to_markdown(index=False)
87
  markdown_tables.append(f"\n---\n**Table {i + 1}:**\n{markdown}")
88
 
89
  table_output = "\n".join(markdown_tables) if markdown_tables else "No tables found on this page."