no half
Browse files- __pycache__/app.cpython-38.pyc +0 -0
- app.py +2 -2
__pycache__/app.cpython-38.pyc
CHANGED
Binary files a/__pycache__/app.cpython-38.pyc and b/__pycache__/app.cpython-38.pyc differ
|
|
app.py
CHANGED
@@ -29,11 +29,11 @@ def predict(canny, lt, ht, prompt, neg_prompt, ins, gs, seed):
|
|
29 |
np_image = np.concatenate([np_image, np_image, np_image], axis=2)
|
30 |
canny_image = Image.fromarray(np_image)
|
31 |
controlnet_repo_id = "calihyper/kor-portrait-controlnet"
|
32 |
-
controlnet = ControlNetModel.from_pretrained(controlnet_repo_id
|
33 |
'''
|
34 |
repo_id = "calihyper/trad-kor-landscape-black"
|
35 |
pipe = StableDiffusionPipeline.from_pretrained(
|
36 |
-
repo_id
|
37 |
)
|
38 |
generator = torch.manual_seed(seed)
|
39 |
|
|
|
29 |
np_image = np.concatenate([np_image, np_image, np_image], axis=2)
|
30 |
canny_image = Image.fromarray(np_image)
|
31 |
controlnet_repo_id = "calihyper/kor-portrait-controlnet"
|
32 |
+
controlnet = ControlNetModel.from_pretrained(controlnet_repo_id)
|
33 |
'''
|
34 |
repo_id = "calihyper/trad-kor-landscape-black"
|
35 |
pipe = StableDiffusionPipeline.from_pretrained(
|
36 |
+
repo_id
|
37 |
)
|
38 |
generator = torch.manual_seed(seed)
|
39 |
|