Commit
•
a1e9510
1
Parent(s):
f57a5fe
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import torch
|
|
5 |
from PIL import Image
|
6 |
import os
|
7 |
|
8 |
-
|
9 |
from kolors.pipelines.pipeline_stable_diffusion_xl_chatglm_256_ipadapter import StableDiffusionXLPipeline
|
10 |
from kolors.models.modeling_chatglm import ChatGLMModel
|
11 |
from kolors.models.tokenization_chatglm import ChatGLMTokenizer
|
|
|
5 |
from PIL import Image
|
6 |
import os
|
7 |
|
8 |
+
from transformers import CLIPVisionModelWithProjection, CLIPImageProcessor
|
9 |
from kolors.pipelines.pipeline_stable_diffusion_xl_chatglm_256_ipadapter import StableDiffusionXLPipeline
|
10 |
from kolors.models.modeling_chatglm import ChatGLMModel
|
11 |
from kolors.models.tokenization_chatglm import ChatGLMTokenizer
|