Spaces:
Paused
Paused
Upload code/cube3d/render/render_bricks_safe.py with huggingface_hub
Browse files
code/cube3d/render/render_bricks_safe.py
CHANGED
|
@@ -6,7 +6,7 @@ import sys
|
|
| 6 |
import os
|
| 7 |
import platform
|
| 8 |
|
| 9 |
-
root_dir = Path(__file__).parents[2]
|
| 10 |
sys.path.append(str(root_dir))
|
| 11 |
|
| 12 |
# 根据操作系统自动检测Blender路径
|
|
|
|
| 6 |
import os
|
| 7 |
import platform
|
| 8 |
|
| 9 |
+
root_dir = Path(__file__).resolve().parents[2]
|
| 10 |
sys.path.append(str(root_dir))
|
| 11 |
|
| 12 |
# 根据操作系统自动检测Blender路径
|