Spaces:
Runtime error
Runtime error
import gradio as gr | |
from torchvision import transforms | |
title = "Remove Bg" | |
description = "Automatically remove the image background from a profile photo." | |
article = "<p style='text-align: center'><a href='https://news.machinelearning.sg/posts/beautiful_profile_pics_remove_background_image_with_deeplabv3/'>Blog</a> | <a href='https://github.com/eugenesiow/practical-ml'>Github Repo</a></p>" | |
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() | |