xyz commited on
Commit
2717d7d
1 Parent(s): 5fc36c4

accept jpeg images

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -209,7 +209,7 @@ torch.set_grad_enabled(False)
209
  st.title("Zero123++ Demo")
210
  # st.caption("For faster inference without waiting in queue, you may clone the space and run it yourself.")
211
  prog = st.progress(0.0, "Idle")
212
- pic = st.file_uploader("Upload an Image", key='imageinput', type=['png', 'jpg', 'webp'])
213
  left, right = st.columns(2)
214
  with left:
215
  rem_input_bg = st.checkbox("Remove Input Background")
 
209
  st.title("Zero123++ Demo")
210
  # st.caption("For faster inference without waiting in queue, you may clone the space and run it yourself.")
211
  prog = st.progress(0.0, "Idle")
212
+ pic = st.file_uploader("Upload an Image", key='imageinput', type=['png', 'jpg', 'webp', 'jpeg'])
213
  left, right = st.columns(2)
214
  with left:
215
  rem_input_bg = st.checkbox("Remove Input Background")