Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,13 +12,13 @@ from bs4 import BeautifulSoup
|
|
| 12 |
@tool
|
| 13 |
def search_images_for_presentation(query: str) -> list:
|
| 14 |
"""
|
| 15 |
-
Searches for images related to
|
| 16 |
|
| 17 |
-
|
| 18 |
query (str): The search term used to find relevant images.
|
| 19 |
|
| 20 |
Returns:
|
| 21 |
-
list: A list of image URLs
|
| 22 |
"""
|
| 23 |
helium.go_to("https://duckduckgo.com/")
|
| 24 |
search_box = helium.find(S("input[type='text']"))
|
|
|
|
| 12 |
@tool
|
| 13 |
def search_images_for_presentation(query: str) -> list:
|
| 14 |
"""
|
| 15 |
+
Searches for images related to a given query.
|
| 16 |
|
| 17 |
+
Args:
|
| 18 |
query (str): The search term used to find relevant images.
|
| 19 |
|
| 20 |
Returns:
|
| 21 |
+
list: A list of image URLs.
|
| 22 |
"""
|
| 23 |
helium.go_to("https://duckduckgo.com/")
|
| 24 |
search_box = helium.find(S("input[type='text']"))
|