tsadf commited on
Commit
c0dfdd0
·
verified ·
1 Parent(s): 3a4839e

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. app.py +7 -0
  2. requirements.txt +1 -0
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import json
2
+ with open("pose_export.json") as f:
3
+ data = json.load(f)
4
+ for joint in data["joints"]:
5
+ # Create empties or apply to armature
6
+ bpy.ops.object.empty_add(location=joint["position"])
7
+ bpy.context.object.name = joint["name"]
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ # No additional dependencies required