fffiloni commited on
Commit
9c27e53
·
verified ·
1 Parent(s): 9b0b4d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -1688,7 +1688,9 @@ if __name__ == "__main__":
1688
  </a>
1689
  </div>
1690
  """)
1691
- prompt = gr.Textbox(label="Prompt")
 
 
1692
  with gr.Accordion("Advanced settings", open=False):
1693
  resolution = gr.Radio(
1694
  label = "Resolution",
@@ -1699,7 +1701,7 @@ if __name__ == "__main__":
1699
  )
1700
  num_inference_steps = gr.Slider(label="Inference Steps", minimum=2, maximum=50, step=1, value=50)
1701
  guidance_scale = gr.Slider(label="Guidance Scale", minimum=1, maximum=510, step=0.1, value=7.5)
1702
- submit_btn = gr.Button("Submit")
1703
  output_images = gr.Image(format="png")
1704
  gr.Examples(
1705
  examples = [
 
1688
  </a>
1689
  </div>
1690
  """)
1691
+ with gr.Row():
1692
+ prompt = gr.Textbox(label="Prompt")
1693
+ submit_btn = gr.Button("Submit", scale=1)
1694
  with gr.Accordion("Advanced settings", open=False):
1695
  resolution = gr.Radio(
1696
  label = "Resolution",
 
1701
  )
1702
  num_inference_steps = gr.Slider(label="Inference Steps", minimum=2, maximum=50, step=1, value=50)
1703
  guidance_scale = gr.Slider(label="Guidance Scale", minimum=1, maximum=510, step=0.1, value=7.5)
1704
+
1705
  output_images = gr.Image(format="png")
1706
  gr.Examples(
1707
  examples = [