gradio/demo/flip_image.py
2020-06-10 23:04:14 -07:00

7 lines
133 B
Python

import gradio as gr
import numpy as np
def flip(image):
return np.flipud(image)
gr.Interface(flip, "imagein", "image").launch()