Spaces:
Running
on
Zero
Running
on
Zero
wondervictor
commited on
Update app.py
Browse files
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 |
-
|
50 |
-
|
51 |
-
|
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)."
|