Spaces:
Sleeping
Sleeping
Update src/util/params.py
Browse files- src/util/params.py +2 -2
src/util/params.py
CHANGED
@@ -15,7 +15,7 @@ torch_device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
15 |
isLCM = False
|
16 |
HF_ACCESS_TOKEN = ""
|
17 |
|
18 |
-
model_path = "
|
19 |
inpaint_model_path = "Lykon/dreamshaper-8-inpainting"
|
20 |
prompt = "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k"
|
21 |
promptA = "Self-portrait oil painting, a beautiful man with golden hair, 8k"
|
@@ -33,7 +33,7 @@ guidance_values = "1, 8, 20"
|
|
33 |
intermediate = True
|
34 |
pokeX, pokeY = 256, 256
|
35 |
pokeHeight, pokeWidth = 128, 128
|
36 |
-
imageHeight, imageWidth =
|
37 |
|
38 |
tokenizer = CLIPTokenizer.from_pretrained(model_path, subfolder="tokenizer")
|
39 |
text_encoder = CLIPTextModel.from_pretrained(model_path, subfolder="text_encoder").to(
|
|
|
15 |
isLCM = False
|
16 |
HF_ACCESS_TOKEN = ""
|
17 |
|
18 |
+
model_path = "segmind/small-sd"
|
19 |
inpaint_model_path = "Lykon/dreamshaper-8-inpainting"
|
20 |
prompt = "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k"
|
21 |
promptA = "Self-portrait oil painting, a beautiful man with golden hair, 8k"
|
|
|
33 |
intermediate = True
|
34 |
pokeX, pokeY = 256, 256
|
35 |
pokeHeight, pokeWidth = 128, 128
|
36 |
+
imageHeight, imageWidth = 512, 512
|
37 |
|
38 |
tokenizer = CLIPTokenizer.from_pretrained(model_path, subfolder="tokenizer")
|
39 |
text_encoder = CLIPTextModel.from_pretrained(model_path, subfolder="text_encoder").to(
|