Spaces:
Paused
Paused
Update app.py
Browse files174 unmodified lines175176177178179180181174 unmodified linesresult = []for frame in frames:pil = Image.fromarray(frame.astype(np.uint8)).convert("RGB")pose_img = processor(pil, hand_and_face=True)if not isinstance(pose_img, Image.Image):pose_img = Image.fromarray(np.array(pose_img).astype(np.uint8))pose_img = pose_img.convert("RGB").resize((width, height), Image.BILINEAR)174 unmodified lines175176177178179180181174 unmodified linesresult = []for frame in frames:pil = Image.fromarray(frame.astype(np.uint8)).convert("RGB")pose_img = processor(pil, hand_and_face=False)if not isinstance(pose_img, Image.Image):pose_img = Image.fromarray(np.array(pose_img).astype(np.uint8))pose_img = pose_img.convert("RGB").resize((width, height), Image.BILINEAR)
app.py+1-1