habulaj commited on
Commit
897563b
·
verified ·
1 Parent(s): 9c6f194

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -21
app.py CHANGED
@@ -273,27 +273,27 @@ with gr.Blocks(theme=theme, css="style.css") as demo:
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
  with gr.Row():
276
- gr.Markdown("""# LoRAs""")
277
- lora = gr.Text(label='LoRA 1', placeholder='e.g. nerijs/pixel-art-xl', visible=False)
278
- lora2 = gr.Text(label='LoRA 2', placeholder='e.g. nerijs/pixel-art-xl', visible=False)
279
- lora_scale = gr.Slider(
280
- info="The closer to 1, the more it will resemble LoRA, but errors may be visible.",
281
- label="Lora Scale 1",
282
- minimum=0.01,
283
- maximum=1,
284
- step=0.01,
285
- value=0.7,
286
- visible=False,
287
- )
288
- lora_scale2 = gr.Slider(
289
- info="The closer to 1, the more it will resemble LoRA, but errors may be visible.",
290
- label="Lora Scale 2",
291
- minimum=0.01,
292
- maximum=1,
293
- step=0.01,
294
- value=0.7,
295
- visible=False,
296
- )
297
  with gr.Row():
298
  negative_prompt = gr.Text(
299
  placeholder="Input Negative Prompt",
 
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
  with gr.Row():
276
+ """# LoRAs"""
277
+ lora = gr.Text(label='LoRA 1', placeholder='e.g. nerijs/pixel-art-xl', visible=False)
278
+ lora2 = gr.Text(label='LoRA 2', placeholder='e.g. nerijs/pixel-art-xl', visible=False)
279
+ lora_scale = gr.Slider(
280
+ info="The closer to 1, the more it will resemble LoRA, but errors may be visible.",
281
+ label="Lora Scale 1",
282
+ minimum=0.01,
283
+ maximum=1,
284
+ step=0.01,
285
+ value=0.7,
286
+ visible=False,
287
+ )
288
+ lora_scale2 = gr.Slider(
289
+ info="The closer to 1, the more it will resemble LoRA, but errors may be visible.",
290
+ label="Lora Scale 2",
291
+ minimum=0.01,
292
+ maximum=1,
293
+ step=0.01,
294
+ value=0.7,
295
+ visible=False,
296
+ )
297
  with gr.Row():
298
  negative_prompt = gr.Text(
299
  placeholder="Input Negative Prompt",