import gradio as gr from torchvision import transforms title = "Remove Bg" description = "Automatically remove the image background from a profile photo." article = "

Blog | Github Repo

" gr.Interface( inference, title=title, description=description, article=article, examples=[['demis.jpg'], ['lifeifei.png']], enable_queue=True ).launch(debug=False) gr.Interface.load("spaces/eugenesiow/remove-bg").launch()