Update app.py
Browse files
app.py
CHANGED
@@ -218,11 +218,7 @@ with gr.Blocks(theme=theme, css=css) as app:
|
|
218 |
# Bind the button to the query function with the added width and height inputs
|
219 |
text_button.click(query, inputs=[text_prompt, negative_prompt, steps, cfg, method, seed, strength, width, height], outputs=image_output)
|
220 |
|
221 |
-
with gr.TabItem("🔄 Flip Image", visible=
|
222 |
-
with gr.Row():
|
223 |
-
image_input = gr.Image()
|
224 |
-
image_output = gr.Image()
|
225 |
-
image_button = gr.Button("Flip")
|
226 |
with gr.Row():
|
227 |
image_input = gr.Image(label="Upload Image", height=320, type="filepath")
|
228 |
image_output = gr.Image(format="png")
|
|
|
218 |
# Bind the button to the query function with the added width and height inputs
|
219 |
text_button.click(query, inputs=[text_prompt, negative_prompt, steps, cfg, method, seed, strength, width, height], outputs=image_output)
|
220 |
|
221 |
+
with gr.TabItem("🔄 Flip Image", visible=False):
|
|
|
|
|
|
|
|
|
222 |
with gr.Row():
|
223 |
image_input = gr.Image(label="Upload Image", height=320, type="filepath")
|
224 |
image_output = gr.Image(format="png")
|