Spaces:
Runtime error
Runtime error
tool
Browse files
app.py
CHANGED
@@ -293,10 +293,10 @@ def fn_traj_reset():
|
|
293 |
return "Click to specify trajectory"
|
294 |
|
295 |
###########################################
|
296 |
-
model_path='./motionctrl.pth'
|
297 |
config_path='./configs/inference/config_both.yaml'
|
298 |
if not os.path.exists(model_path):
|
299 |
-
os.system(f'wget https://huggingface.co/TencentARC/MotionCtrl/
|
300 |
|
301 |
config = OmegaConf.load(config_path)
|
302 |
model_config = config.pop("model", OmegaConf.create())
|
|
|
293 |
return "Click to specify trajectory"
|
294 |
|
295 |
###########################################
|
296 |
+
model_path='./motionctrl.pth?download=true'
|
297 |
config_path='./configs/inference/config_both.yaml'
|
298 |
if not os.path.exists(model_path):
|
299 |
+
os.system(f'wget https://huggingface.co/TencentARC/MotionCtrl/resolve/main/motionctrl.pth?download=true -P .')
|
300 |
|
301 |
config = OmegaConf.load(config_path)
|
302 |
model_config = config.pop("model", OmegaConf.create())
|