Spaces:
Runtime error
Runtime error
RamAnanth1
commited on
Commit
•
600ccab
1
Parent(s):
fb44af1
Update app.py
Browse files
app.py
CHANGED
@@ -29,6 +29,7 @@ import gradio as gr
|
|
29 |
|
30 |
from gradio_sketch import create_demo as create_demo_sketch
|
31 |
from gradio_pose import create_demo as create_demo_pose
|
|
|
32 |
|
33 |
from model import Model
|
34 |
|
@@ -50,9 +51,10 @@ with gr.Blocks(css='style.css') as demo:
|
|
50 |
with gr.Tabs():
|
51 |
with gr.TabItem('Sketch'):
|
52 |
create_demo_sketch(model.process_sketch)
|
53 |
-
|
54 |
with gr.TabItem('Pose'):
|
55 |
create_demo_pose(model.process_pose)
|
|
|
|
|
56 |
|
57 |
|
58 |
demo.queue(api_open=False).launch()
|
|
|
29 |
|
30 |
from gradio_sketch import create_demo as create_demo_sketch
|
31 |
from gradio_pose import create_demo as create_demo_pose
|
32 |
+
from gradio_seg import create_demo as create_demo_seg
|
33 |
|
34 |
from model import Model
|
35 |
|
|
|
51 |
with gr.Tabs():
|
52 |
with gr.TabItem('Sketch'):
|
53 |
create_demo_sketch(model.process_sketch)
|
|
|
54 |
with gr.TabItem('Pose'):
|
55 |
create_demo_pose(model.process_pose)
|
56 |
+
with gr.TabItem('Segmentation'):
|
57 |
+
create_demo_seg(model.process_seg)
|
58 |
|
59 |
|
60 |
demo.queue(api_open=False).launch()
|