Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,6 +19,7 @@ def search_images_for_presentation(query: str) -> str:
|
|
| 19 |
Returns:
|
| 20 |
list: A list of image URLs.
|
| 21 |
"""
|
|
|
|
| 22 |
helium.go_to("https://duckduckgo.com/")
|
| 23 |
search_box = helium.find(S("input[type='text']"))
|
| 24 |
search_box.write(query + " image")
|
|
|
|
| 19 |
Returns:
|
| 20 |
list: A list of image URLs.
|
| 21 |
"""
|
| 22 |
+
helium.start_chrome(headless=True)
|
| 23 |
helium.go_to("https://duckduckgo.com/")
|
| 24 |
search_box = helium.find(S("input[type='text']"))
|
| 25 |
search_box.write(query + " image")
|