Not-Adam commited on
Commit
7d4ad9b
·
verified ·
1 Parent(s): 34e6e0e

Returning empty dic if fail

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- results[str(index)] = f"Error processing image: {str(e)}"
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