Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
45 |
-
|
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:
|