VeuReu commited on
Commit
eaeb806
·
verified ·
1 Parent(s): 504a332

Update preprocessing_router.py

Browse files
Files changed (1) hide show
  1. preprocessing_router.py +7 -1
preprocessing_router.py CHANGED
@@ -296,7 +296,13 @@ async def finalize_casting(
296
  n_voices = 0
297
 
298
  face_identities = sorted([p.name for p in faces_out.iterdir() if p.is_dir()]) if faces_out.exists() else []
299
- voice_identities = sorted([p.name for p in voices_out.iterdir() if p.is_dir()]) if voices_out.exists() else []
 
 
 
 
 
 
300
 
301
  casting_json = {"face_col": [], "voice_col": []}
302
 
 
296
  n_voices = 0
297
 
298
  face_identities = sorted([p.name for p in faces_out.iterdir() if p.is_dir()]) if faces_out.exists() else []
299
+ voice_identities = sorted([p.name for p in voices_out.iterdir() if p.is_dir()]) if voices_out.exists() else
300
+
301
+ print("faces_out exists:", faces_out.exists())
302
+ print("voice_out exists:", voices_out.exists())
303
+ print("Face identities found:", face_identities)
304
+ print("Voice identities found:", voice_identities)
305
+
306
 
307
  casting_json = {"face_col": [], "voice_col": []}
308