Spaces:
Running
on
Zero
Running
on
Zero
Upload gradio_app.py with huggingface_hub
Browse files- gradio_app.py +8 -6
gradio_app.py
CHANGED
|
@@ -284,9 +284,10 @@ def build_app():
|
|
| 284 |
with gr.Tabs():
|
| 285 |
with gr.Tab('Generated Mesh') as mesh1:
|
| 286 |
mesh_output1 = LitModel3D(
|
| 287 |
-
label="3D
|
| 288 |
-
exposure=10.0,
|
| 289 |
-
|
|
|
|
| 290 |
clear_color=[0.0, 0.0, 0.0, 0.0],
|
| 291 |
tonemapping="aces",
|
| 292 |
contrast=1.0,
|
|
@@ -296,9 +297,10 @@ def build_app():
|
|
| 296 |
with gr.Tab('Generated Textured Mesh') as mesh2:
|
| 297 |
# html_output2 = gr.HTML(HTML_OUTPUT_PLACEHOLDER, label='Output')
|
| 298 |
mesh_output2 = LitModel3D(
|
| 299 |
-
label="3D
|
| 300 |
-
exposure=10.0,
|
| 301 |
-
|
|
|
|
| 302 |
clear_color=[0.0, 0.0, 0.0, 0.0],
|
| 303 |
tonemapping="aces",
|
| 304 |
contrast=1.0,
|
|
|
|
| 284 |
with gr.Tabs():
|
| 285 |
with gr.Tab('Generated Mesh') as mesh1:
|
| 286 |
mesh_output1 = LitModel3D(
|
| 287 |
+
label="3D Model1",
|
| 288 |
+
exposure=10.0,
|
| 289 |
+
height=600,
|
| 290 |
+
visible=True,
|
| 291 |
clear_color=[0.0, 0.0, 0.0, 0.0],
|
| 292 |
tonemapping="aces",
|
| 293 |
contrast=1.0,
|
|
|
|
| 297 |
with gr.Tab('Generated Textured Mesh') as mesh2:
|
| 298 |
# html_output2 = gr.HTML(HTML_OUTPUT_PLACEHOLDER, label='Output')
|
| 299 |
mesh_output2 = LitModel3D(
|
| 300 |
+
label="3D Model2",
|
| 301 |
+
exposure=10.0,
|
| 302 |
+
height=600,
|
| 303 |
+
visible=True,
|
| 304 |
clear_color=[0.0, 0.0, 0.0, 0.0],
|
| 305 |
tonemapping="aces",
|
| 306 |
contrast=1.0,
|