Spaces:
Runtime error
Runtime error
cocktailpeanut
commited on
Commit
•
550300e
1
Parent(s):
3391c05
update
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ guidance_scale = 5
|
|
75 |
# LCM
|
76 |
if os.environ.get("MODE") == "LCM":
|
77 |
print("LCM")
|
78 |
-
num_inference_steps =
|
79 |
guidance_scale = 0
|
80 |
|
81 |
pipe.load_lora_weights(lcm_lora_path)
|
@@ -407,7 +407,7 @@ with gr.Blocks(css=css) as demo:
|
|
407 |
)
|
408 |
num_steps = gr.Slider(
|
409 |
label="Number of sample steps",
|
410 |
-
minimum=
|
411 |
maximum=100,
|
412 |
step=1,
|
413 |
value=num_inference_steps,
|
|
|
75 |
# LCM
|
76 |
if os.environ.get("MODE") == "LCM":
|
77 |
print("LCM")
|
78 |
+
num_inference_steps = 2
|
79 |
guidance_scale = 0
|
80 |
|
81 |
pipe.load_lora_weights(lcm_lora_path)
|
|
|
407 |
)
|
408 |
num_steps = gr.Slider(
|
409 |
label="Number of sample steps",
|
410 |
+
minimum=1,
|
411 |
maximum=100,
|
412 |
step=1,
|
413 |
value=num_inference_steps,
|