Update app.py
Browse files
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 |
-
|
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():
|