NCJ commited on
Commit
f286cb8
1 Parent(s): 8c41dd5
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ with gr.Blocks(title="DiLightNet Demo") as demo:
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")],
83
  inputs=[env_map_preview, env_map_path],
84
  examples_per_page = 20,
85
  )
 
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", i).replace("png", "exr")] for i in os.listdir("examples/env_map_preview")],
83
  inputs=[env_map_preview, env_map_path],
84
  examples_per_page = 20,
85
  )