HelloSun commited on
Commit
f564fad
1 Parent(s): 9ec4981

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,7 +13,7 @@ model_id = "Disty0/SoteMixV3"
13
  #model_id = "Disty0/sotediffusion-v2" #不可
14
 
15
  #1024*512 記憶體不足 1024x1536
16
- HIGH=1024
17
  WIDTH=512
18
 
19
 
@@ -54,7 +54,7 @@ def infer(prompt,negative_prompt):
54
  negative_prompt = negative_prompt,
55
  width = HIGH,
56
  height = WIDTH,
57
- guidance_scale=1.0,
58
  num_inference_steps=30,
59
  num_images_per_prompt=1,
60
  ).images[0]
 
13
  #model_id = "Disty0/sotediffusion-v2" #不可
14
 
15
  #1024*512 記憶體不足 1024x1536
16
+ HIGH=512
17
  WIDTH=512
18
 
19
 
 
54
  negative_prompt = negative_prompt,
55
  width = HIGH,
56
  height = WIDTH,
57
+ guidance_scale=7.5,
58
  num_inference_steps=30,
59
  num_images_per_prompt=1,
60
  ).images[0]