randomtable commited on
Commit
d099fe7
·
verified ·
1 Parent(s): bb233d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -78,9 +78,9 @@ with gr.Blocks(css="style.css") as demo:
78
  gr.HTML("<p><center>Lightning-fast text-to-image generation</center></p><p><center><a href='https://huggingface.co/ByteDance/SDXL-Lightning'>https://huggingface.co/ByteDance/SDXL-Lightning</a></center></p>")
79
  with gr.Group():
80
  with gr.Row():
81
- prompt = gr.Textbox(label='Enter your prompt (English)', scale=7)
82
  ckpt = gr.Dropdown(label='Select inference steps',choices=['1-Step', '2-Step', '4-Step', '8-Step'], value='4-Step', interactive=True)
83
- submit = gr.Button(scale=14, variant='primary')
84
  img = gr.Image(label='SDXL-Lightning Generated Image')
85
 
86
  prompt.submit(fn=generate_image,
 
78
  gr.HTML("<p><center>Lightning-fast text-to-image generation</center></p><p><center><a href='https://huggingface.co/ByteDance/SDXL-Lightning'>https://huggingface.co/ByteDance/SDXL-Lightning</a></center></p>")
79
  with gr.Group():
80
  with gr.Row():
81
+ prompt = gr.Textbox(label='Enter your prompt (English)', scale=8)
82
  ckpt = gr.Dropdown(label='Select inference steps',choices=['1-Step', '2-Step', '4-Step', '8-Step'], value='4-Step', interactive=True)
83
+ submit = gr.Button(scale=1, variant='primary')
84
  img = gr.Image(label='SDXL-Lightning Generated Image')
85
 
86
  prompt.submit(fn=generate_image,