EJAD1 commited on
Commit
4a7d893
·
verified ·
1 Parent(s): 016f0b7

Deleting the attribute run in the search tool

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def search_on_internet(subject: str) -> str:
29
  search_tool = DuckDuckGoSearchTool()
30
 
31
  # 2. Exécuter la recherche avec le sujet fourni
32
- results = search_tool.run(subject)
33
 
34
  # 3. Retourner les résultats de la recherche
35
  return results
 
29
  search_tool = DuckDuckGoSearchTool()
30
 
31
  # 2. Exécuter la recherche avec le sujet fourni
32
+ results = search_tool(subject)
33
 
34
  # 3. Retourner les résultats de la recherche
35
  return results