Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
ba6e5f1
1
Parent(s):
ea5174f
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config)
|
|
33 |
|
34 |
pipe=pipe.to("cuda")
|
35 |
pipe.load_lora_weights(adapter_id)
|
36 |
-
pipe.load_lora_weights(adapter_id_2)
|
37 |
pipe.fuse_lora()
|
38 |
|
39 |
#pipe.enable_freeu(s1=0.9, s2=0.2, b1=1.3, b2=1.4)
|
@@ -177,7 +177,7 @@ with gr.Blocks(css=css) as demo:
|
|
177 |
disable_auto_prompt_correction = gr.Checkbox(label="Disable auto prompt corretion.")
|
178 |
|
179 |
with gr.Row():
|
180 |
-
guidance = gr.Slider(label="Guidance scale", value=
|
181 |
steps = gr.Slider(label="Steps", value=6, minimum=2, maximum=30, step=1)
|
182 |
|
183 |
seed = gr.Slider(0, 2147483647, label='Seed (0 = random)', value=0, step=1)
|
|
|
33 |
|
34 |
pipe=pipe.to("cuda")
|
35 |
pipe.load_lora_weights(adapter_id)
|
36 |
+
#pipe.load_lora_weights(adapter_id_2)
|
37 |
pipe.fuse_lora()
|
38 |
|
39 |
#pipe.enable_freeu(s1=0.9, s2=0.2, b1=1.3, b2=1.4)
|
|
|
177 |
disable_auto_prompt_correction = gr.Checkbox(label="Disable auto prompt corretion.")
|
178 |
|
179 |
with gr.Row():
|
180 |
+
guidance = gr.Slider(label="Guidance scale", value=2, maximum=25)
|
181 |
steps = gr.Slider(label="Steps", value=6, minimum=2, maximum=30, step=1)
|
182 |
|
183 |
seed = gr.Slider(0, 2147483647, label='Seed (0 = random)', value=0, step=1)
|