Anmo0l commited on
Commit
5e502da
·
verified ·
1 Parent(s): c25de13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def Web_Search(arg1:str)-> str: #it's import to specify the return type
17
  arg2: the second argument
18
  """
19
  try:
20
- result = DuckDuckGoSearchTool('What are agents')
21
  return result
22
  except Exception as e:
23
  return f'[Error] {e}'
 
17
  arg2: the second argument
18
  """
19
  try:
20
+ result = DuckDuckGoSearchTool(arg1)
21
  return result
22
  except Exception as e:
23
  return f'[Error] {e}'