import gradio as gr def segment(image): return image gr.Interface(fn=segment, inputs="image", outputs="image").launch()