Spaces:
Sleeping
Sleeping
Commit
Β·
be7e89a
1
Parent(s):
3a72782
Add pose data for 6-head and 7-head character models
Browse files- Created `6heads.json` containing pose data for 6-head characters, including body, hand, and face coordinates.
- Created `7heads.json` containing pose data for 7-head characters, with similar structure and details.
- Both files include metadata such as format, version, export date, and descriptions.
app.py
CHANGED
|
@@ -292,7 +292,7 @@ def main():
|
|
| 292 |
}
|
| 293 |
|
| 294 |
if template_name in template_file_map:
|
| 295 |
-
templates_path = os.path.join(os.path.dirname(__file__), template_file_map[template_name])
|
| 296 |
with open(templates_path, "r", encoding="utf-8") as f:
|
| 297 |
pose_data = json.load(f)
|
| 298 |
else:
|
|
|
|
| 292 |
}
|
| 293 |
|
| 294 |
if template_name in template_file_map:
|
| 295 |
+
templates_path = os.path.join(os.path.dirname(__file__), "poses", template_file_map[template_name])
|
| 296 |
with open(templates_path, "r", encoding="utf-8") as f:
|
| 297 |
pose_data = json.load(f)
|
| 298 |
else:
|
2heads.json β poses/2heads.json
RENAMED
|
File without changes
|
3heads.json β poses/3heads.json
RENAMED
|
File without changes
|
4heads.json β poses/4heads.json
RENAMED
|
File without changes
|
5heads.json β poses/5heads.json
RENAMED
|
File without changes
|
6heads.json β poses/6heads.json
RENAMED
|
File without changes
|
7heads.json β poses/7heads.json
RENAMED
|
File without changes
|