ovi054 commited on
Commit
b42a697
·
verified ·
1 Parent(s): dc39033

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -124,13 +124,14 @@ with gr.Blocks(css=css) as app:
124
  cfg = gr.Slider(label="CFG Scale", value=3.5, minimum=1, maximum=20, step=0.5)
125
  # method = gr.Radio(label="Sampling method", value="DPM++ 2M Karras", choices=["DPM++ 2M Karras", "DPM++ SDE Karras", "Euler", "Euler a", "Heun", "DDIM"])
126
 
127
- with gr.Row():
128
- # text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
129
- text_button = gr.Button("✨ Generate Image", variant='primary', elem_classes=["generate-btn"])
130
- with gr.Row():
131
- image_output = gr.Image(type="pil", label="Image Output", elem_id="gallery")
132
- with gr.Row():
133
- seed_output = gr.Textbox(label="Seed Used", show_copy_button = True)
 
134
 
135
  gr.Markdown(article_text)
136
 
 
124
  cfg = gr.Slider(label="CFG Scale", value=3.5, minimum=1, maximum=20, step=0.5)
125
  # method = gr.Radio(label="Sampling method", value="DPM++ 2M Karras", choices=["DPM++ 2M Karras", "DPM++ SDE Karras", "Euler", "Euler a", "Heun", "DDIM"])
126
 
127
+ with gr.Row():
128
+ # text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
129
+ text_button = gr.Button("✨ Generate Image", variant='primary', elem_classes=["generate-btn"])
130
+ with gr.Column():
131
+ with gr.Row():
132
+ image_output = gr.Image(type="pil", label="Image Output", elem_id="gallery")
133
+ with gr.Row():
134
+ seed_output = gr.Textbox(label="Seed Used", show_copy_button = True)
135
 
136
  gr.Markdown(article_text)
137