Spaces:
Runtime error
Runtime error
Returning empty dic if fail (#5)
Browse files- Returning empty dic if fail (7d4ad9b2a6836a640462202ea8cc174e666637d1)
app.py
CHANGED
@@ -260,7 +260,7 @@ def get_face_embeddings(image_urls):
|
|
260 |
results[str(index)] = face_encodings[0].tolist()
|
261 |
except Exception as e:
|
262 |
# If any error occurs during the download or processing, store the error message
|
263 |
-
|
264 |
|
265 |
return results
|
266 |
|
|
|
260 |
results[str(index)] = face_encodings[0].tolist()
|
261 |
except Exception as e:
|
262 |
# If any error occurs during the download or processing, store the error message
|
263 |
+
print(f"Error processing image: {str(e)}")
|
264 |
|
265 |
return results
|
266 |
|