Spaces:
Running
on
Zero
Running
on
Zero
sync with source
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ with gr.Blocks(title="DiLightNet Demo") as demo:
|
|
76 |
is_env_lighting = gr.Checkbox(label="Use Environmental Lighting", value=True, interactive=False, visible=False)
|
77 |
with gr.Tab("Environmental Lighting"):
|
78 |
env_map_preview = gr.Image(label="Environment Map Preview", height=256, width=512, interactive=False, show_download_button=False)
|
79 |
-
env_map_path = gr.Text(interactive=False, visible=
|
80 |
env_rotation = gr.Slider(value=0., label="Environment Rotation", minimum=0., maximum=360., step=0.5)
|
81 |
env_examples = gr.Examples(
|
82 |
examples=[[os.path.join("examples/env_map_preview", i), os.path.join("examples/env_map_preview", i).replace("png", "exr")] for i in os.listdir("examples/env_map_preview")],
|
|
|
76 |
is_env_lighting = gr.Checkbox(label="Use Environmental Lighting", value=True, interactive=False, visible=False)
|
77 |
with gr.Tab("Environmental Lighting"):
|
78 |
env_map_preview = gr.Image(label="Environment Map Preview", height=256, width=512, interactive=False, show_download_button=False)
|
79 |
+
env_map_path = gr.Text(interactive=False, visible=False, value="examples/env_map/grace.exr")
|
80 |
env_rotation = gr.Slider(value=0., label="Environment Rotation", minimum=0., maximum=360., step=0.5)
|
81 |
env_examples = gr.Examples(
|
82 |
examples=[[os.path.join("examples/env_map_preview", i), os.path.join("examples/env_map_preview", i).replace("png", "exr")] for i in os.listdir("examples/env_map_preview")],
|