Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -200,7 +200,7 @@ class ImageScraper:
|
|
| 200 |
"https://images.pexels.com/photos/5473950/pexels-photo-5473950.jpeg"
|
| 201 |
]
|
| 202 |
|
| 203 |
-
|
| 204 |
try:
|
| 205 |
# Ensure query is not empty
|
| 206 |
if not query.strip():
|
|
|
|
| 200 |
"https://images.pexels.com/photos/5473950/pexels-photo-5473950.jpeg"
|
| 201 |
]
|
| 202 |
|
| 203 |
+
def get_images(self, query: str, num_images: int = 15) -> Dict[str, List[Dict[str, str]]]:
|
| 204 |
try:
|
| 205 |
# Ensure query is not empty
|
| 206 |
if not query.strip():
|