Spaces:
Build error
Build error
onescotch
commited on
Commit
•
4961a06
1
Parent(s):
d78ebe8
change python version
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ try:
|
|
13 |
except:
|
14 |
os.system('pip install /home/user/app/main/transformer_utils')
|
15 |
hf_hub_download(repo_id="caizhongang/SMPLer-X", filename="smpler_x_h32.pth.tar", local_dir="/home/user/app/pretrained_models")
|
16 |
-
os.system('cp -rf /home/user/app/assets/conversions.py /home/user/.pyenv/versions/3.9.
|
17 |
DEFAULT_MODEL='smpler_x_h32'
|
18 |
OUT_FOLDER = '/home/user/app/demo_out'
|
19 |
os.makedirs(OUT_FOLDER, exist_ok=True)
|
|
|
13 |
except:
|
14 |
os.system('pip install /home/user/app/main/transformer_utils')
|
15 |
hf_hub_download(repo_id="caizhongang/SMPLer-X", filename="smpler_x_h32.pth.tar", local_dir="/home/user/app/pretrained_models")
|
16 |
+
os.system('cp -rf /home/user/app/assets/conversions.py /home/user/.pyenv/versions/3.9.19/lib/python3.9/site-packages/torchgeometry/core/conversions.py')
|
17 |
DEFAULT_MODEL='smpler_x_h32'
|
18 |
OUT_FOLDER = '/home/user/app/demo_out'
|
19 |
os.makedirs(OUT_FOLDER, exist_ok=True)
|