Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -298,12 +298,12 @@ text_btn.click(model, text_prompt, image_output)
|
|
298 |
|
299 |
btn.click(summary, input_text, output_text)
|
300 |
with gr.Tab("Flip Image"):
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
with gr.Tab("Image Filters"):
|
308 |
with gr.Row():
|
309 |
with gr.Column():
|
|
|
298 |
|
299 |
btn.click(summary, input_text, output_text)
|
300 |
with gr.Tab("Flip Image"):
|
301 |
+
with gr.Row():
|
302 |
+
image_input = gr.Image(type="numpy", label="Upload Image")
|
303 |
+
image_output = gr.Image(format="png")
|
304 |
+
with gr.Row():
|
305 |
+
image_button = gr.Button("Run", variant='primary')
|
306 |
+
image_button.click(flip_image, inputs=image_input, outputs=image_output)
|
307 |
with gr.Tab("Image Filters"):
|
308 |
with gr.Row():
|
309 |
with gr.Column():
|