Astridkraft commited on
Commit
f82ebb1
·
verified ·
1 Parent(s): 0048e22

Update controlnet_module.py

Browse files
Files changed (1) hide show
  1. controlnet_module.py +2 -1
controlnet_module.py CHANGED
@@ -63,7 +63,8 @@ class ControlNetProcessor:
63
  if detector is None:
64
  return self.extract_pose_simple(image)
65
 
66
- pose_image = detector(image, hand_and_face=True, detect_resolution=512)
 
67
  return pose_image
68
  except Exception as e:
69
  print(f"Fehler bei Pose-Extraktion: {e}")
 
63
  if detector is None:
64
  return self.extract_pose_simple(image)
65
 
66
+ #pose_image = detector(image, hand_and_face=True, detect_resolution=512)
67
+ pose_image = detector.detect(image, hand_and_face=True)
68
  return pose_image
69
  except Exception as e:
70
  print(f"Fehler bei Pose-Extraktion: {e}")