Spaces:
Sleeping
Sleeping
Update app.py
Browse filesRemoved requests import
app.py
CHANGED
@@ -25,7 +25,6 @@ def get_web_search_results(query: str)-> str: #it's import to specify the return
|
|
25 |
Args:
|
26 |
query: A string representing a valid web query. IMPORTANT: Follow type str format strictly e.g. 'pictures of cats'.
|
27 |
"""
|
28 |
-
import requests
|
29 |
search_results_tool = DuckDuckGoSearchTool()
|
30 |
try:
|
31 |
results = search_results_tool(query)
|
|
|
25 |
Args:
|
26 |
query: A string representing a valid web query. IMPORTANT: Follow type str format strictly e.g. 'pictures of cats'.
|
27 |
"""
|
|
|
28 |
search_results_tool = DuckDuckGoSearchTool()
|
29 |
try:
|
30 |
results = search_results_tool(query)
|