Spaces:
Running
on
L4
Running
on
L4
FrozenBurning
commited on
Commit
•
a4912eb
1
Parent(s):
e4b9c27
Update app.py
Browse files
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
|
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,
|