de3sec commited on
Commit
ec9cb96
1 Parent(s): 35bb6d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,7 +41,7 @@ if uploaded_file is not None:
41
 
42
  with st.expander("Original photo", expanded=True):
43
  if uploaded_file is not None:
44
- st.image(uploaded_file, width=20)
45
  else:
46
  st.warning("You haven't uploaded any photo yet")
47
 
@@ -65,7 +65,7 @@ if uploaded_file is not None:
65
  img_output = change_background(img_input, img_matte, background_alpha=alpha, background_hex=hexmap[in_mode])
66
 
67
  with st.expander("Success!", expanded=True):
68
- st.image(img_output)
69
  uploaded_name = os.path.splitext(uploaded_file.name)[0]
70
  image_download_button(
71
  pil_image=img_output,
 
41
 
42
  with st.expander("Original photo", expanded=True):
43
  if uploaded_file is not None:
44
+ st.image(uploaded_file, width=40)
45
  else:
46
  st.warning("You haven't uploaded any photo yet")
47
 
 
65
  img_output = change_background(img_input, img_matte, background_alpha=alpha, background_hex=hexmap[in_mode])
66
 
67
  with st.expander("Success!", expanded=True):
68
+ st.image(img_output, width=40)
69
  uploaded_name = os.path.splitext(uploaded_file.name)[0]
70
  image_download_button(
71
  pil_image=img_output,