Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -306,12 +306,12 @@ demo = gr.Interface(
|
|
| 306 |
description="Enter a text prompt to generate a realistic image using the XLabs-AI/flux-RealismLora model."
|
| 307 |
)
|
| 308 |
with gr.Tab("Flip Image"):
|
| 309 |
-
|
| 310 |
-
|
| 311 |
-
|
| 312 |
-
|
| 313 |
-
|
| 314 |
-
|
| 315 |
with gr.Tab("Image Filters"):
|
| 316 |
with gr.Row():
|
| 317 |
with gr.Column():
|
|
|
|
| 306 |
description="Enter a text prompt to generate a realistic image using the XLabs-AI/flux-RealismLora model."
|
| 307 |
)
|
| 308 |
with gr.Tab("Flip Image"):
|
| 309 |
+
with gr.Row():
|
| 310 |
+
image_input = gr.Image(type="numpy", label="Upload Image")
|
| 311 |
+
image_output = gr.Image(format="png")
|
| 312 |
+
with gr.Row():
|
| 313 |
+
image_button = gr.Button("Run", variant='primary')
|
| 314 |
+
image_button.click(flip_image, inputs=image_input, outputs=image_output)
|
| 315 |
with gr.Tab("Image Filters"):
|
| 316 |
with gr.Row():
|
| 317 |
with gr.Column():
|