NCJ commited on
Commit
6a23860
·
verified ·
1 Parent(s): a4ac72c

sync with source

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=True, 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")],
 
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")],