Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -14,8 +14,8 @@ from kolors.models.tokenization_chatglm import ChatGLMTokenizer
|
|
14 |
from kolors.models.unet_2d_condition import UNet2DConditionModel
|
15 |
from diffusers import AutoencoderKL, EulerDiscreteScheduler
|
16 |
|
17 |
-
from huggingface_hub import snapshot_download
|
18 |
|
|
|
19 |
|
20 |
device = "cuda"
|
21 |
root_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
|
14 |
from kolors.models.unet_2d_condition import UNet2DConditionModel
|
15 |
from diffusers import AutoencoderKL, EulerDiscreteScheduler
|
16 |
|
|
|
17 |
|
18 |
+
from huggingface_hub import hf_hub_download, model_info
|
19 |
|
20 |
device = "cuda"
|
21 |
root_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|