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 |
"""Get images with AI-powered keyword extraction and categorization"""
|
| 205 |
try:
|
| 206 |
# Extract keywords from prompt
|
|
|
|
| 200 |
"https://images.pexels.com/photos/5473950/pexels-photo-5473950.jpeg"
|
| 201 |
]
|
| 202 |
|
| 203 |
+
def get_images(self, prompt: str, num_images: int = 15) -> Dict[str, List[Dict[str, str]]]:
|
| 204 |
"""Get images with AI-powered keyword extraction and categorization"""
|
| 205 |
try:
|
| 206 |
# Extract keywords from prompt
|