Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ model_id = "Disty0/SoteMixV3"
|
|
13 |
#model_id = "Disty0/sotediffusion-v2" #不可
|
14 |
|
15 |
#1024*512 記憶體不足 1024x1536
|
16 |
-
HIGH=
|
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=
|
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]
|