Spaces:
Runtime error
Runtime error
import gradio as gr | |
import torch | |
torch.hub.download_url_to_file('https://pbs.twimg.com/profile_images/691700243809718272/z7XZUARB_400x400.jpg', | |
'demis.jpg') | |
torch.hub.download_url_to_file('https://hai.stanford.edu/sites/default/files/styles/person_medium/public/2020-03/hai_1512feifei.png?itok=INFuLABp', | |
'lifeifei.png') | |
gr.Interface.load( | |
"spaces/abidlabs/remove-bg", inputs="webcam", title="Remove your webcam background!", examples=[['demis.jpg'], ['lifeifei.png']] | |
).launch() |