Spaces:
Running
on
Zero
Running
on
Zero
bluestyle97
commited on
Commit
•
358a369
1
Parent(s):
36fd00b
Update app.py
Browse files
app.py
CHANGED
@@ -56,24 +56,27 @@ If you have any questions, feel free to open a discussion or contact us at <b>bl
|
|
56 |
|
57 |
with gr.Blocks(analytics_enabled=False, title='FreeSplatter Demo', theme=gr.themes.Ocean()) as demo:
|
58 |
gr.Markdown(_HEADER_)
|
59 |
-
gr.Markdown(_IMG_TO_3D_HELP_)
|
60 |
|
61 |
-
with gr.Tabs() as
|
62 |
-
with gr.TabItem('
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
|
|
|
|
|
|
|
|
77 |
|
78 |
gr.Markdown(_CITE_)
|
79 |
|
|
|
56 |
|
57 |
with gr.Blocks(analytics_enabled=False, title='FreeSplatter Demo', theme=gr.themes.Ocean()) as demo:
|
58 |
gr.Markdown(_HEADER_)
|
|
|
59 |
|
60 |
+
with gr.Tabs() as main_tabs:
|
61 |
+
with gr.TabItem('Image-to-3D', id='tab_img_to_3d'):
|
62 |
+
gr.Markdown(_IMG_TO_3D_HELP_)
|
63 |
+
|
64 |
+
with gr.Tabs() as sub_tabs_img_to_3d:
|
65 |
+
with gr.TabItem('Hunyuan3D Std', id='tab_hunyuan3d_std'):
|
66 |
+
_, var_img_to_3d_hunyuan3d_std = create_interface_img_to_3d(
|
67 |
+
runner.run_segmentation,
|
68 |
+
runner.run_img_to_3d,
|
69 |
+
model='Hunyuan3D Std')
|
70 |
+
with gr.TabItem('Zero123++ v1.1', id='tab_zero123plus_v11'):
|
71 |
+
_, var_img_to_3d_zero123plus_v11 = create_interface_img_to_3d(
|
72 |
+
runner.run_segmentation,
|
73 |
+
runner.run_img_to_3d,
|
74 |
+
model='Zero123++ v1.1')
|
75 |
+
with gr.TabItem('Zero123++ v1.2', id='tab_zero123plus_v12'):
|
76 |
+
_, var_img_to_3d_zero123plus_v12 = create_interface_img_to_3d(
|
77 |
+
runner.run_segmentation,
|
78 |
+
runner.run_img_to_3d,
|
79 |
+
model='Zero123++ v1.2')
|
80 |
|
81 |
gr.Markdown(_CITE_)
|
82 |
|