MariaFilipkowska commited on
Commit
2788dde
·
verified ·
1 Parent(s): e163e29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def search_web(topic: str) -> str:
57
  """Retrieves information about the topic."""
58
  results = DuckDuckGoSearchRun().invoke(topic)
59
  if results:
60
- return "\n\n".join([doc.text for doc in results[:6]])
61
  else:
62
  return "No matching content found."
63
 
 
57
  """Retrieves information about the topic."""
58
  results = DuckDuckGoSearchRun().invoke(topic)
59
  if results:
60
+ return "\n\n".join([doc.text for doc in results[:10]])
61
  else:
62
  return "No matching content found."
63