Boboiazumi commited on
Commit
936b5ea
1 Parent(s): 2cc3fd1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -14
app.py CHANGED
@@ -325,20 +325,21 @@ with gr.Blocks(css="style.css", theme="NoCrypt/[email protected]") as demo:
325
  isImg2Img = gr.Checkbox(
326
  label="Img2Img", value=False
327
  )
328
- image = gr.Image(
329
- sources=["upload", "webcam", "clipboard"],
330
- type="filepath",
331
- #visible=False,
332
- label="Choose Image",
333
- )
334
- img2img_strength = gr.Slider(
335
- minimum=0.05,
336
- maximum=1,
337
- step=0.05,
338
- value=0.65,
339
- label="Strength",
340
- #visible=False
341
- )
 
342
  with gr.Accordion(label="Quality Tags", open=True):
343
  add_quality_tags = gr.Checkbox(
344
  label="Add Quality Tags", value=True
 
325
  isImg2Img = gr.Checkbox(
326
  label="Img2Img", value=False
327
  )
328
+ with gr.Accordion(label="Img2Img", open=False):
329
+ image = gr.Image(
330
+ sources=["upload", "webcam", "clipboard"],
331
+ type="filepath",
332
+ #visible=False,
333
+ label="Choose Image",
334
+ )
335
+ img2img_strength = gr.Slider(
336
+ minimum=0.05,
337
+ maximum=1,
338
+ step=0.05,
339
+ value=0.65,
340
+ label="Strength",
341
+ #visible=False
342
+ )
343
  with gr.Accordion(label="Quality Tags", open=True):
344
  add_quality_tags = gr.Checkbox(
345
  label="Add Quality Tags", value=True