Spaces:
Runtime error
Runtime error
lionelgarnier
commited on
Commit
·
5d67648
1
Parent(s):
4b713ff
clean
Browse files
app.py
CHANGED
@@ -333,7 +333,7 @@ def image_to_3d(
|
|
333 |
image,
|
334 |
seed=seed,
|
335 |
formats=["gaussian", "mesh"],
|
336 |
-
preprocess_image=
|
337 |
sparse_structure_sampler_params={
|
338 |
"steps": ss_sampling_steps,
|
339 |
"cfg_strength": ss_guidance_strength,
|
@@ -569,7 +569,7 @@ def create_interface():
|
|
569 |
gr.on(
|
570 |
triggers=[gen3d_button.click],
|
571 |
fn=image_to_3d,
|
572 |
-
inputs=[
|
573 |
outputs=[output_state, video_output],
|
574 |
).then(
|
575 |
# Update button states after successful 3D generation
|
|
|
333 |
image,
|
334 |
seed=seed,
|
335 |
formats=["gaussian", "mesh"],
|
336 |
+
preprocess_image=False,
|
337 |
sparse_structure_sampler_params={
|
338 |
"steps": ss_sampling_steps,
|
339 |
"cfg_strength": ss_guidance_strength,
|
|
|
569 |
gr.on(
|
570 |
triggers=[gen3d_button.click],
|
571 |
fn=image_to_3d,
|
572 |
+
inputs=[preprocessed_image, trellis_seed, ss_guidance_strength, ss_sampling_steps, slat_guidance_strength, slat_sampling_steps],
|
573 |
outputs=[output_state, video_output],
|
574 |
).then(
|
575 |
# Update button states after successful 3D generation
|