wondervictor commited on
Commit
c10f9fe
·
verified ·
1 Parent(s): ff9bee7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -46,9 +46,9 @@ hf_hub_download(repo_id="lllyasviel/Annotators", filename="dpt_hybrid-midas-501f
46
  hf_hub_download(repo_id="wondervictor/ControlAR", filename="canny_MR.safetensors", local_dir=ckpt_folder)
47
  hf_hub_download(repo_id="wondervictor/ControlAR", filename="depth_MR.safetensors", local_dir=ckpt_folder)
48
 
49
- # hf_hub_download(repo_id="facebook/dinov2-small", filename="config.json", local_dir=dinov2_folder)
50
- # hf_hub_download(repo_id="facebook/dinov2-small", filename="preprocessor_config.json", local_dir=dinov2_folder)
51
- # hf_hub_download(repo_id="facebook/dinov2-small", filename="pytorch_model.bin", local_dir=dinov2_folder)
52
 
53
 
54
  DESCRIPTION = "# [ControlAR: Controllable Image Generation with Autoregressive Models](https://arxiv.org/abs/2410.02705) \n ### The first row in outputs is the input image and condition. The second row is the images generated by ControlAR. \n ### You can run locally by following the instruction on our [Github Repo](https://github.com/hustvl/ControlAR)."
 
46
  hf_hub_download(repo_id="wondervictor/ControlAR", filename="canny_MR.safetensors", local_dir=ckpt_folder)
47
  hf_hub_download(repo_id="wondervictor/ControlAR", filename="depth_MR.safetensors", local_dir=ckpt_folder)
48
 
49
+ hf_hub_download(repo_id="facebook/dinov2-small", filename="config.json", local_dir=dinov2_folder)
50
+ hf_hub_download(repo_id="facebook/dinov2-small", filename="preprocessor_config.json", local_dir=dinov2_folder)
51
+ hf_hub_download(repo_id="facebook/dinov2-small", filename="pytorch_model.bin", local_dir=dinov2_folder)
52
 
53
 
54
  DESCRIPTION = "# [ControlAR: Controllable Image Generation with Autoregressive Models](https://arxiv.org/abs/2410.02705) \n ### The first row in outputs is the input image and condition. The second row is the images generated by ControlAR. \n ### You can run locally by following the instruction on our [Github Repo](https://github.com/hustvl/ControlAR)."