wzhouxiff commited on
Commit
2296ee8
1 Parent(s): f106c64

model path

Browse files
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/resolve/main/motionctrl.pth?download=true -P ./motionctrl.pth')
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())