Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
79 |
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>")
|
80 |
with gr.Group():
|
81 |
with gr.Row():
|
82 |
-
prompt = gr.Textbox(label='Enter
|
83 |
ckpt = gr.Dropdown(label='Select inference steps',choices=['1-Step', '2-Step', '4-Step', '8-Step'], value='4-Step', interactive=True)
|
84 |
submit = gr.Button(scale=1, variant='primary')
|
85 |
img = gr.Image(label='SDXL-Lightning Generated Image')
|
|
|
79 |
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>")
|
80 |
with gr.Group():
|
81 |
with gr.Row():
|
82 |
+
prompt = gr.Textbox(label='Enter your prompt (English)', scale=8)
|
83 |
ckpt = gr.Dropdown(label='Select inference steps',choices=['1-Step', '2-Step', '4-Step', '8-Step'], value='4-Step', interactive=True)
|
84 |
submit = gr.Button(scale=1, variant='primary')
|
85 |
img = gr.Image(label='SDXL-Lightning Generated Image')
|