hsuwill000
commited on
Commit
•
a42a1e2
1
Parent(s):
799c1d9
Update app.py
Browse files
app.py
CHANGED
@@ -20,8 +20,8 @@ model_id = "hsuwill000/LCM-anything-v5-openvino"
|
|
20 |
#adapter_id = "latent-consistency/lcm-lora-sdv1-5"
|
21 |
|
22 |
#1024*512 記憶體不足
|
23 |
-
HIGH=
|
24 |
-
WIDTH=
|
25 |
|
26 |
batch_size = -1
|
27 |
|
@@ -56,7 +56,7 @@ pipe.reshape( batch_size=-1, height=HIGH, width=WIDTH, num_images_per_prompt=1)
|
|
56 |
pipe.compile()
|
57 |
|
58 |
prompt=""
|
59 |
-
negative_prompt="
|
60 |
|
61 |
def infer(prompt,negative_prompt):
|
62 |
|
|
|
20 |
#adapter_id = "latent-consistency/lcm-lora-sdv1-5"
|
21 |
|
22 |
#1024*512 記憶體不足
|
23 |
+
HIGH=1024
|
24 |
+
WIDTH=1024
|
25 |
|
26 |
batch_size = -1
|
27 |
|
|
|
56 |
pipe.compile()
|
57 |
|
58 |
prompt=""
|
59 |
+
negative_prompt="EasyNegative, (animal, pet), close up,"
|
60 |
|
61 |
def infer(prompt,negative_prompt):
|
62 |
|