Spaces:
Runtime error
Runtime error
Commit
·
98f357a
1
Parent(s):
74c4fbf
Update main.py
Browse files
main.py
CHANGED
|
@@ -203,10 +203,28 @@ with gr.Blocks(theme=theme) as demo:
|
|
| 203 |
],
|
| 204 |
outputs=[result_image],
|
| 205 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 206 |
|
| 207 |
-
with gr.Tab(label="Remove Background"):
|
| 208 |
|
| 209 |
-
|
| 210 |
|
| 211 |
with gr.Tab(label="Gallery"):
|
| 212 |
|
|
|
|
| 203 |
],
|
| 204 |
outputs=[result_image],
|
| 205 |
)
|
| 206 |
+
with gr.Tab(label="Others"):
|
| 207 |
+
with gr.Tab(label="Image Tools"):
|
| 208 |
+
with gr.Accordion("Remove Background", open=False):
|
| 209 |
+
with gr.Row():
|
| 210 |
+
gr.load("hardon-server/remove-background-on-image-def", src="spaces")
|
| 211 |
+
with gr.Accordion("Flip Image", open=False):
|
| 212 |
+
with gr.Row():
|
| 213 |
+
gr.load("hardon-server/image_flip", src="spaces")
|
| 214 |
+
with gr.Accordion("Sepia Filter", open=False):
|
| 215 |
+
with gr.Row():
|
| 216 |
+
gr.load("hardon-server/sepia_filter", src="spaces")
|
| 217 |
+
with gr.Tab(label="GANs"):
|
| 218 |
+
with gr.Accordion("BaseGAN", open=False):
|
| 219 |
+
with gr.Row():
|
| 220 |
+
gr.load("hardon-server/basegan1", src="spaces")
|
| 221 |
+
with gr.Accordion("RANGAN", open=False):
|
| 222 |
+
with gr.Row():
|
| 223 |
+
gr.load("hardon-server/projected_gan1", src="spaces")
|
| 224 |
+
|
| 225 |
|
|
|
|
| 226 |
|
| 227 |
+
|
| 228 |
|
| 229 |
with gr.Tab(label="Gallery"):
|
| 230 |
|