wzhouxiff commited on
Commit
788574f
1 Parent(s): 128f7f2
Files changed (1) hide show
  1. app.py +2 -2
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/blob/main/motionctrl.pth -P .')
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())