flamehaze1115 commited on
Commit
85a630f
1 Parent(s): f9cb246

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -321,7 +321,7 @@ torch.set_grad_enabled(False)
321
  st.title("Wonder3D: Single Image to 3D using Cross-Domain Diffusion")
322
  # st.caption("For faster inference without waiting in queue, you may clone the space and run it yourself.")
323
 
324
- pic = st.file_uploader("Upload an Image", key='imageinput', type=['png', 'jpg', 'webp'])
325
  left, right = st.columns(2)
326
  # with left:
327
  # rem_input_bg = st.checkbox("Remove Input Background")
@@ -342,7 +342,7 @@ with right:
342
  submit = True
343
  prog = st.progress(0.0, "Idle")
344
  results_container = st.container()
345
- sample_got = image_examples(iret, 4, 'rimageinput')
346
  if sample_got:
347
  pic = sample_got
348
  with results_container:
 
321
  st.title("Wonder3D: Single Image to 3D using Cross-Domain Diffusion")
322
  # st.caption("For faster inference without waiting in queue, you may clone the space and run it yourself.")
323
 
324
+ pic = st.file_uploader("Upload an Image", key='imageinput', type=['png', 'jpg', 'webp', 'jpeg'])
325
  left, right = st.columns(2)
326
  # with left:
327
  # rem_input_bg = st.checkbox("Remove Input Background")
 
342
  submit = True
343
  prog = st.progress(0.0, "Idle")
344
  results_container = st.container()
345
+ sample_got = image_examples(iret, 5, 'rimageinput')
346
  if sample_got:
347
  pic = sample_got
348
  with results_container: