akameswa commited on
Commit
97f0430
·
verified ·
1 Parent(s): f08fdb9

Update src/util/params.py

Browse files
Files changed (1) hide show
  1. 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 = "stabilityai/stable-diffusion-2-1"
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 = 1024, 1024
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(