JayRaghav commited on
Commit
394cd9b
·
1 Parent(s): 3432ab2

initial commit

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from rembg import remove
3
+
4
+ def segment(image):
5
+ return remove(image)
6
+
7
+ gr.Interface(fn=segment, inputs="image", outputs="image").launch(share=True)