Update app.py
Browse files
app.py
CHANGED
@@ -96,8 +96,8 @@ def generate_func(
|
|
96 |
return geometry_save_path, textured_save_path
|
97 |
|
98 |
|
99 |
-
with gr.Blocks(title="
|
100 |
-
gr.Markdown("#
|
101 |
with gr.Row():
|
102 |
with gr.Column(scale=2):
|
103 |
input_image = gr.Image(label="Image", type="filepath")
|
@@ -122,17 +122,16 @@ with gr.Blocks(title="Step1X-3D demo") as demo:
|
|
122 |
with gr.Column(scale=4):
|
123 |
textured_preview = gr.Model3D(label="Textured", height=380)
|
124 |
geometry_preview = gr.Model3D(label="Geometry", height=380)
|
|
|
125 |
with gr.Column(scale=1):
|
126 |
gr.Examples(
|
127 |
examples=[
|
128 |
-
["examples/images/
|
129 |
-
["examples/images/
|
130 |
-
["examples/images/
|
131 |
-
["examples/images/
|
132 |
-
["examples/images/
|
133 |
-
["examples/images/
|
134 |
-
["examples/images/061.png"],
|
135 |
-
["examples/images/107.png"],
|
136 |
],
|
137 |
inputs=[input_image],
|
138 |
cache_examples=False,
|
|
|
96 |
return geometry_save_path, textured_save_path
|
97 |
|
98 |
|
99 |
+
with gr.Blocks(title="AI-RAY") as demo:
|
100 |
+
gr.Markdown("# AI-RAY")
|
101 |
with gr.Row():
|
102 |
with gr.Column(scale=2):
|
103 |
input_image = gr.Image(label="Image", type="filepath")
|
|
|
122 |
with gr.Column(scale=4):
|
123 |
textured_preview = gr.Model3D(label="Textured", height=380)
|
124 |
geometry_preview = gr.Model3D(label="Geometry", height=380)
|
125 |
+
|
126 |
with gr.Column(scale=1):
|
127 |
gr.Examples(
|
128 |
examples=[
|
129 |
+
["examples/images/901.png"],
|
130 |
+
["examples/images/902.png"],
|
131 |
+
["examples/images/904.png"],
|
132 |
+
["examples/images/905.png"],
|
133 |
+
["examples/images/906.png"],
|
134 |
+
["examples/images/907.png"],
|
|
|
|
|
135 |
],
|
136 |
inputs=[input_image],
|
137 |
cache_examples=False,
|