habulaj commited on
Commit
7a5f55d
·
verified ·
1 Parent(s): 71ddc03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -0
app.py CHANGED
@@ -272,6 +272,26 @@ with gr.Blocks(theme=theme, css="style.css") as demo:
272
  use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=False)
273
  use_prompt_2 = gr.Checkbox(label="Use prompt 2", value=False)
274
  use_negative_prompt_2 = gr.Checkbox(label="Use negative prompt 2", value=False)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
275
  negative_prompt = gr.Text(
276
  placeholder="Input Negative Prompt",
277
  label="Negative prompt",
 
272
  use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=False)
273
  use_prompt_2 = gr.Checkbox(label="Use prompt 2", value=False)
274
  use_negative_prompt_2 = gr.Checkbox(label="Use negative prompt 2", value=False)
275
+ lora = gr.Text(label='LoRA 1', placeholder='e.g. nerijs/pixel-art-xl', visible=False)
276
+ lora2 = gr.Text(label='LoRA 2', placeholder='e.g. nerijs/pixel-art-xl', visible=False)
277
+ lora_scale = gr.Slider(
278
+ info="The closer to 1, the more it will resemble LoRA, but errors may be visible.",
279
+ label="Lora Scale 1",
280
+ minimum=0.01,
281
+ maximum=1,
282
+ step=0.01,
283
+ value=0.7,
284
+ visible=False,
285
+ )
286
+ lora_scale2 = gr.Slider(
287
+ info="The closer to 1, the more it will resemble LoRA, but errors may be visible.",
288
+ label="Lora Scale 2",
289
+ minimum=0.01,
290
+ maximum=1,
291
+ step=0.01,
292
+ value=0.7,
293
+ visible=False,
294
+ )
295
  negative_prompt = gr.Text(
296
  placeholder="Input Negative Prompt",
297
  label="Negative prompt",