Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -66,11 +66,11 @@ tab1 = gr.Interface(
|
|
66 |
)
|
67 |
|
68 |
tab2 = gr.Interface(fn, inputs=text, outputs=[slider2, png_file], examples=[url], api_name="text")
|
69 |
-
|
70 |
|
71 |
|
72 |
demo = gr.TabbedInterface(
|
73 |
-
[tab1, tab2], ["input image", "input url"], title="RMBG-2.0 for background removal"
|
74 |
)
|
75 |
|
76 |
if __name__ == "__main__":
|
|
|
66 |
)
|
67 |
|
68 |
tab2 = gr.Interface(fn, inputs=text, outputs=[slider2, png_file], examples=[url], api_name="text")
|
69 |
+
tab3 = gr.Interface(process_file, inputs=image2, outputs=png_file, examples=["giraffe.jpg"], api_name="png")
|
70 |
|
71 |
|
72 |
demo = gr.TabbedInterface(
|
73 |
+
[tab1, tab2, tab3], ["input image", "input url", "png output"], title="RMBG-2.0 for background removal"
|
74 |
)
|
75 |
|
76 |
if __name__ == "__main__":
|