Spaces:
Running
on
Zero
Running
on
Zero
wondervictor
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -6,13 +6,13 @@ from app_canny import create_demo as create_demo_canny
|
|
6 |
from app_depth import create_demo as create_demo_depth
|
7 |
import os
|
8 |
|
9 |
-
hf_hub_download(repo_id='wondervictor/ControlAR',
|
10 |
-
|
11 |
-
|
12 |
-
hf_hub_download(repo_id='wondervictor/ControlAR',
|
13 |
-
|
14 |
-
|
15 |
-
# hf_hub_download('google/flan-t5-xl', cache_dir='./checkpoints/')
|
16 |
|
17 |
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)."
|
18 |
SHOW_DUPLICATE_BUTTON = os.getenv("SHOW_DUPLICATE_BUTTON") == "1"
|
|
|
6 |
from app_depth import create_demo as create_demo_depth
|
7 |
import os
|
8 |
|
9 |
+
# hf_hub_download(repo_id='wondervictor/ControlAR',
|
10 |
+
# filename='canny_MR.safetensors',
|
11 |
+
# local_dir='./checkpoints/')
|
12 |
+
# hf_hub_download(repo_id='wondervictor/ControlAR',
|
13 |
+
# filename='depth_MR.safetensors',
|
14 |
+
# local_dir='./checkpoints/')
|
15 |
+
# # hf_hub_download('google/flan-t5-xl', cache_dir='./checkpoints/')
|
16 |
|
17 |
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)."
|
18 |
SHOW_DUPLICATE_BUTTON = os.getenv("SHOW_DUPLICATE_BUTTON") == "1"
|