File size: 159 Bytes
e812cdc
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import numpy as np

def flip_image(x):
    return np.fliplr(x)
    
import gradio as gr

gr.Interface(fn=flip_image, inputs="image", outputs="image").launch();