heheyas commited on
Commit
ed59274
1 Parent(s): 58395cb
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -272,6 +272,7 @@ if __name__ == "__main__":
272
  opt = parser.parse_args()
273
 
274
  test = OmegaConf.load("./scripts/pub/configs/V3D_512.yaml")
 
275
 
276
  def download_if_need(path, url):
277
  if Path(path).exists():
@@ -282,12 +283,12 @@ if __name__ == "__main__":
282
  path.parent.mkdir(parents=True, exist_ok=True)
283
  wget.download(url, out=str(path))
284
 
285
- download_if_need(
286
- "ckpts/svd_xt.safetensors",
287
- "https://huggingface.co/stabilityai/stable-video-diffusion-img2vid-xt/resolve/main/svd_xt.safetensors",
288
- )
289
- download_if_need(
290
- "ckpts/V3D_512.ckpt", "https://huggingface.co/heheyas/V3D/resolve/main/V3D.ckpt"
291
- )
292
 
293
  launch(opt.device, opt.share)
 
272
  opt = parser.parse_args()
273
 
274
  test = OmegaConf.load("./scripts/pub/configs/V3D_512.yaml")
275
+ print(test)
276
 
277
  def download_if_need(path, url):
278
  if Path(path).exists():
 
283
  path.parent.mkdir(parents=True, exist_ok=True)
284
  wget.download(url, out=str(path))
285
 
286
+ # download_if_need(
287
+ # "ckpts/svd_xt.safetensors",
288
+ # "https://huggingface.co/stabilityai/stable-video-diffusion-img2vid-xt/resolve/main/svd_xt.safetensors",
289
+ # )
290
+ # download_if_need(
291
+ # "ckpts/V3D_512.ckpt", "https://huggingface.co/heheyas/V3D/resolve/main/V3D.ckpt"
292
+ # )
293
 
294
  launch(opt.device, opt.share)