Update preprocessing_router.py
Browse files- preprocessing_router.py +5 -4
preprocessing_router.py
CHANGED
|
@@ -262,10 +262,11 @@ async def finalize_casting(
|
|
| 262 |
print(emb)
|
| 263 |
print(f" - {f}")
|
| 264 |
print(f" - {f_path}")
|
| 265 |
-
|
| 266 |
-
"
|
| 267 |
-
|
| 268 |
-
|
|
|
|
| 269 |
|
| 270 |
print("-" * 30)
|
| 271 |
print("="*50 + "\n")
|
|
|
|
| 262 |
print(emb)
|
| 263 |
print(f" - {f}")
|
| 264 |
print(f" - {f_path}")
|
| 265 |
+
if emb:
|
| 266 |
+
casting_json["face_col"].append({
|
| 267 |
+
"nombre": c_name,
|
| 268 |
+
"embedding": emb[0],
|
| 269 |
+
})
|
| 270 |
|
| 271 |
print("-" * 30)
|
| 272 |
print("="*50 + "\n")
|