hardknee commited on
Commit
c5be38d
·
verified ·
1 Parent(s): b8ac183

Update app.py

Browse files

Modified call to DuckDuckGoSearchTool

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def get_web_search_results(query: str)-> str: #it's import to specify the return
26
  query: A string representing a valid web query. IMPORTANT: Follow type str format strictly e.g. 'pictures of cats'.
27
  """
28
  try:
29
- results = DuckDuckGoSearchTool.forward(query)
30
  if results and results != "None":
31
  return results
32
  else:
 
26
  query: A string representing a valid web query. IMPORTANT: Follow type str format strictly e.g. 'pictures of cats'.
27
  """
28
  try:
29
+ results = DuckDuckGoSearchTool(query)
30
  if results and results != "None":
31
  return results
32
  else: