kbrodt commited on
Commit
b8395e7
1 Parent(s): b45cd93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,8 +41,8 @@ def main():
41
  save_dir.mkdir(parents=True, exist_ok=True)
42
 
43
  def pose(img_path, bone_lengths=True, foreshortening=True, self_contacts=False, naturalness=True):
44
- if use_cos == False:
45
- use_angle_transf = False
46
 
47
  cmd = CMD.format(save_dir, img_path)
48
  if bone_lengths:
 
41
  save_dir.mkdir(parents=True, exist_ok=True)
42
 
43
  def pose(img_path, bone_lengths=True, foreshortening=True, self_contacts=False, naturalness=True):
44
+ if bone_lengths == False:
45
+ foreshortening = False
46
 
47
  cmd = CMD.format(save_dir, img_path)
48
  if bone_lengths: