Spaces:
Running
Running
Commit
·
b4c5e21
1
Parent(s):
35a8822
Minor
Browse files
app.py
CHANGED
@@ -225,6 +225,7 @@ def generate(
|
|
225 |
bvh_path = pjoin(animation_path, "sample_repeat%d.bvh" % (r))
|
226 |
save_path = pjoin(animation_path, "sample_repeat%d_%d.mp4"%(r, ruid))
|
227 |
if use_ik:
|
|
|
228 |
_, joint = converter.convert(joint, filename=bvh_path, iterations=100)
|
229 |
else:
|
230 |
_, joint = converter.convert(joint, filename=bvh_path, iterations=100, foot_ik=False)
|
|
|
225 |
bvh_path = pjoin(animation_path, "sample_repeat%d.bvh" % (r))
|
226 |
save_path = pjoin(animation_path, "sample_repeat%d_%d.mp4"%(r, ruid))
|
227 |
if use_ik:
|
228 |
+
print("Using IK")
|
229 |
_, joint = converter.convert(joint, filename=bvh_path, iterations=100)
|
230 |
else:
|
231 |
_, joint = converter.convert(joint, filename=bvh_path, iterations=100, foot_ik=False)
|