hsuwill000
commited on
Commit
•
b320555
1
Parent(s):
030a8f4
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ model_id = "hsuwill000/LCM-anything-v5-openvino"
|
|
21 |
|
22 |
#512*512 好 太大會變形
|
23 |
HIGH=1024
|
24 |
-
WIDTH=
|
25 |
|
26 |
batch_size = -1
|
27 |
|
@@ -66,7 +66,7 @@ def infer(prompt,negative_prompt):
|
|
66 |
width = WIDTH,
|
67 |
height = HIGH,
|
68 |
guidance_scale=1.0,
|
69 |
-
num_inference_steps=
|
70 |
num_images_per_prompt=1,
|
71 |
).images[0]
|
72 |
|
|
|
21 |
|
22 |
#512*512 好 太大會變形
|
23 |
HIGH=1024
|
24 |
+
WIDTH=512
|
25 |
|
26 |
batch_size = -1
|
27 |
|
|
|
66 |
width = WIDTH,
|
67 |
height = HIGH,
|
68 |
guidance_scale=1.0,
|
69 |
+
num_inference_steps=6,
|
70 |
num_images_per_prompt=1,
|
71 |
).images[0]
|
72 |
|