DigiP-AI commited on
Commit
28063cd
·
verified ·
1 Parent(s): 84db647

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -173,15 +173,15 @@ with gr.Blocks(theme=theme, css=css, elem_id="app-container") as app:
173
  with gr.Accordion("🫘Seed", open=False):
174
  seed_output = gr.Textbox(label="Seed Used", show_copy_button = True, elem_id="seed-output")
175
 
 
 
 
 
176
  with gr.Row():
177
  text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
178
  with gr.Row():
179
  clr_button =gr.Button("Clear",variant="primary", elem_id="clear_button")
180
  clr_button.click(lambda: gr.Textbox(value=""), None, text_prompt, gr.Image(value=""), None, image_output)
181
-
182
- with gr.Row():
183
- image_output = gr.Image(type="pil", label="Image Output", format="png", elem_id="gallery")
184
-
185
  gr.Examples(
186
  examples = examples,
187
  inputs = [text_prompt],
 
173
  with gr.Accordion("🫘Seed", open=False):
174
  seed_output = gr.Textbox(label="Seed Used", show_copy_button = True, elem_id="seed-output")
175
 
176
+
177
+
178
+ with gr.Row():
179
+ image_output = gr.Image(type="pil", label="Image Output", format="png", elem_id="gallery")
180
  with gr.Row():
181
  text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
182
  with gr.Row():
183
  clr_button =gr.Button("Clear",variant="primary", elem_id="clear_button")
184
  clr_button.click(lambda: gr.Textbox(value=""), None, text_prompt, gr.Image(value=""), None, image_output)
 
 
 
 
185
  gr.Examples(
186
  examples = examples,
187
  inputs = [text_prompt],