mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-06 10:25:17 +08:00
7 lines
133 B
Python
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() |