import gradio as gr from rembg import remove title = "Vanish Background" description = "Remove background for any image , To use it, simply upload your image and wait. Read more at the link below of official documentation." article = "

Github Repo

" def segment(image): return remove(image) gr.Interface(fn=segment, inputs="image", outputs="image", title=title, description=description, article=article).launch(enable_queue = True)