394cd9b ab7dab0
1
2
3
4
5
6
7
import gradio as gr from rembg import remove def segment(image): return remove(image) gr.Interface(fn=segment, inputs="image", outputs="image").launch()