Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,11 +14,11 @@ def search_images_for_presentation(query: str) -> list:
|
|
| 14 |
"""
|
| 15 |
Searches for images related to the given query on DuckDuckGo and returns a list of image URLs.
|
| 16 |
|
| 17 |
-
|
| 18 |
-
query (str): The search term 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']"))
|
|
|
|
| 14 |
"""
|
| 15 |
Searches for images related to the given query on DuckDuckGo and returns a list of image URLs.
|
| 16 |
|
| 17 |
+
Parameters:
|
| 18 |
+
query (str): The search term used to find relevant images.
|
| 19 |
|
| 20 |
Returns:
|
| 21 |
+
list: A list of image URLs that match the search query.
|
| 22 |
"""
|
| 23 |
helium.go_to("https://duckduckgo.com/")
|
| 24 |
search_box = helium.find(S("input[type='text']"))
|