8PeopleINC commited on
Commit
5e4777d
·
verified ·
1 Parent(s): 1b39568

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def ddg_tool(query:str, city:str, max_results:int=5)-> list: # it's important to
27
  full_query = f"{query} restaurant in {city}"
28
 
29
  # Fetch results
30
- search_results = ddg.search(full_query, max_results=max_results)
31
 
32
  results = []
33
  for result in search_results:
 
27
  full_query = f"{query} restaurant in {city}"
28
 
29
  # Fetch results
30
+ search_results = ddg_tool.search(full_query, max_results=max_results)
31
 
32
  results = []
33
  for result in search_results: