Spaces:
Runtime error
Runtime error
File size: 399 Bytes
ae428b2 6202f93 ae428b2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import gradio as gr
import numpy as np
# Simple function to flip an image upside down
def flip_image(image):
image_output = np.flipud(image)
return image_output
# Create a simple GUI
gr.Interface(fn=flip_image,
inputs="image",
outputs="image",
title="Flip An Image Upside Down",
examples = ["ai_images.png"]
).launch(); |