DigiP-AI commited on
Commit
b34202e
Β·
verified Β·
1 Parent(s): 3bf31e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -211,12 +211,13 @@ with gr.Blocks(theme=theme, css=css) as app:
211
  examples = examples,
212
  inputs = [text_prompt],
213
  )
214
- with gr.Group():
215
  with gr.Row():
216
  clear_results = gr.Button(value="Clear Image πŸ—‘οΈ", variant="primary", elem_id="clear_button")
217
  clear_results.click(lambda: (None), None, [image_output], queue=False, show_api=False)
218
 
219
  # Bind the button to the query function with the added width and height inputs
 
220
  text_button.click(query, inputs=[text_prompt, negative_prompt, steps, cfg, method, seed, strength, width, height], outputs=image_output)
221
  with gr.TabItem("πŸ”„ Flip Image", visible=True):
222
  with gr.Column():
 
211
  examples = examples,
212
  inputs = [text_prompt],
213
  )
214
+
215
  with gr.Row():
216
  clear_results = gr.Button(value="Clear Image πŸ—‘οΈ", variant="primary", elem_id="clear_button")
217
  clear_results.click(lambda: (None), None, [image_output], queue=False, show_api=False)
218
 
219
  # Bind the button to the query function with the added width and height inputs
220
+
221
  text_button.click(query, inputs=[text_prompt, negative_prompt, steps, cfg, method, seed, strength, width, height], outputs=image_output)
222
  with gr.TabItem("πŸ”„ Flip Image", visible=True):
223
  with gr.Column():