FrozenBurning commited on
Commit
a4912eb
1 Parent(s): e4b9c27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -224,16 +224,16 @@ with block:
224
  with gr.Column(visible=False, scale=1.0) as hdr_row:
225
  gr.Markdown("""## HDR Environment Map
226
 
227
- Select / Upload an HDR environment map to light the 3D model.
228
  """)
229
  with gr.Row():
230
- hdr_illumination_file = gr.File(
231
- label="HDR Envmap", file_types=[".hdr"], file_count="single"
232
- )
233
  example_hdris = [
234
  os.path.join("assets/hdri", f)
235
  for f in os.listdir("assets/hdri")
236
  ]
 
 
 
237
  hdr_illumination_example = gr.Examples(
238
  examples=example_hdris,
239
  inputs=hdr_illumination_file,
 
224
  with gr.Column(visible=False, scale=1.0) as hdr_row:
225
  gr.Markdown("""## HDR Environment Map
226
 
227
+ Select / Upload an HDR environment map to relight the 3D model.
228
  """)
229
  with gr.Row():
 
 
 
230
  example_hdris = [
231
  os.path.join("assets/hdri", f)
232
  for f in os.listdir("assets/hdri")
233
  ]
234
+ hdr_illumination_file = gr.File(
235
+ label="HDR Envmap", file_types=[".hdr"], file_count="single", value=example_hdris[0]
236
+ )
237
  hdr_illumination_example = gr.Examples(
238
  examples=example_hdris,
239
  inputs=hdr_illumination_file,