ovshake commited on
Commit
822636c
1 Parent(s): 5664062

remove rembg

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ if file_name is not None:
120
  stable_fashion_args.part = body_part
121
  resolution = st.radio("Which resolution would you like to get the resulting picture in? (Keep in mind, higher the resolution, higher the queue times)", (128, 256, 512))
122
  stable_fashion_args.resolution = resolution
123
- rembg_status = st.radio("Would you like to remove background in your image before putting new clothes on you? (Sometimes it results in better images)", ("Yes", "No"))
124
  stable_fashion_args.rembg = (rembg_status == "Yes")
125
  guidance_scale = st.slider("Select a guidance scale. 7.5 gives the best results.", 1.0, 15.0, value=7.5)
126
  stable_fashion_args.guidance_scale = guidance_scale
 
120
  stable_fashion_args.part = body_part
121
  resolution = st.radio("Which resolution would you like to get the resulting picture in? (Keep in mind, higher the resolution, higher the queue times)", (128, 256, 512))
122
  stable_fashion_args.resolution = resolution
123
+ rembg_status = st.radio("Would you like to remove background in your image before putting new clothes on you? (Sometimes it results in better images)", ("Yes", "No"), index=1)
124
  stable_fashion_args.rembg = (rembg_status == "Yes")
125
  guidance_scale = st.slider("Select a guidance scale. 7.5 gives the best results.", 1.0, 15.0, value=7.5)
126
  stable_fashion_args.guidance_scale = guidance_scale