amildravid4292 commited on
Commit
c495687
·
verified ·
1 Parent(s): 3965c10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -479,7 +479,6 @@ with gr.Blocks(css="style.css") as demo:
479
  with gr.Column():
480
  gr.Markdown("""❷ Generate new images of the sampled/inverted identity & edit with the sliders""")
481
  gallery = gr.Image(label="Generated Image",height=512, width=512, interactive=False)
482
- #image_slider = ImageSlider(position=0.5, type="pil", height=512, width=512)
483
  submit = gr.Button("Generate")
484
 
485
 
@@ -487,6 +486,7 @@ with gr.Blocks(css="style.css") as demo:
487
  info="Make sure to include 'sks person'" ,
488
  placeholder="sks person",
489
  value="sks person")
 
490
 
491
 
492
  # Editing
@@ -500,9 +500,8 @@ with gr.Blocks(css="style.css") as demo:
500
 
501
 
502
  with gr.Accordion("Advanced Options", open=False):
503
- with gr.Tab("Sampling"):
504
  with gr.Row():
505
- seed = gr.Number(value=5, label="Seed", precision=0, interactive=True)
506
  cfg= gr.Slider(label="CFG", value=3.0, step=0.1, minimum=0, maximum=10, interactive=True)
507
  steps = gr.Slider(label="Inference Steps", value=25, step=1, minimum=0, maximum=100, interactive=True)
508
  with gr.Row():
 
479
  with gr.Column():
480
  gr.Markdown("""❷ Generate new images of the sampled/inverted identity & edit with the sliders""")
481
  gallery = gr.Image(label="Generated Image",height=512, width=512, interactive=False)
 
482
  submit = gr.Button("Generate")
483
 
484
 
 
486
  info="Make sure to include 'sks person'" ,
487
  placeholder="sks person",
488
  value="sks person")
489
+ seed = gr.Number(value=5, label="Seed", precision=0, interactive=True)
490
 
491
 
492
  # Editing
 
500
 
501
 
502
  with gr.Accordion("Advanced Options", open=False):
503
+ with gr.Tab("Generation"):
504
  with gr.Row():
 
505
  cfg= gr.Slider(label="CFG", value=3.0, step=0.1, minimum=0, maximum=10, interactive=True)
506
  steps = gr.Slider(label="Inference Steps", value=25, step=1, minimum=0, maximum=100, interactive=True)
507
  with gr.Row():