Kibalama commited on
Commit
7624326
·
verified ·
1 Parent(s): 48e1eed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -16,12 +16,8 @@ def search_the_web(query:str)-> str:
16
  query: a string representing what is to be searched on the web
17
  """
18
  search_tool = DuckDuckGoSearchTool()
19
- query = "What is the capital of Germany?"
20
-
21
  try:
22
  results = search_tool(query)
23
-
24
-
25
  except Exception as e:
26
  return (f"Error: {e}")
27
  return results
 
16
  query: a string representing what is to be searched on the web
17
  """
18
  search_tool = DuckDuckGoSearchTool()
 
 
19
  try:
20
  results = search_tool(query)
 
 
21
  except Exception as e:
22
  return (f"Error: {e}")
23
  return results