Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -337,13 +337,13 @@ with gr.Blocks(theme=theme, css=css) as app:
|
|
| 337 |
text_button.click(query, inputs=[custom_lora, text_prompt, negative_prompt, steps, cfg, method, seed, strength, width, height], outputs=[image_output, seed_output])
|
| 338 |
|
| 339 |
|
| 340 |
-
|
| 341 |
-
|
| 342 |
-
|
| 343 |
-
|
| 344 |
-
|
| 345 |
-
|
| 346 |
-
|
| 347 |
|
| 348 |
with gr.Tab("Image Filters"):
|
| 349 |
with gr.Row():
|
|
|
|
| 337 |
text_button.click(query, inputs=[custom_lora, text_prompt, negative_prompt, steps, cfg, method, seed, strength, width, height], outputs=[image_output, seed_output])
|
| 338 |
|
| 339 |
|
| 340 |
+
with gr.Tab("Flip Image"):
|
| 341 |
+
with gr.Row():
|
| 342 |
+
mage_input = gr.Image(type="numpy", label="Upload Image")
|
| 343 |
+
image_output = gr.Image(format="png")
|
| 344 |
+
with gr.Row():
|
| 345 |
+
image_button = gr.Button("Run", variant='primary')
|
| 346 |
+
image_button.click(flip_image, inputs=image_input, outputs=image_output)
|
| 347 |
|
| 348 |
with gr.Tab("Image Filters"):
|
| 349 |
with gr.Row():
|