Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -338,12 +338,12 @@ text_button.click(query, inputs=[custom_lora, text_prompt, negative_prompt, step
|
|
338 |
|
339 |
|
340 |
with gr.Tab("Flip Image"):
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
|
348 |
with gr.Tab("Image Filters"):
|
349 |
with gr.Row():
|
|
|
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():
|