ovshake commited on
Commit
1b1a677
1 Parent(s): 7f50dc5

fix gpu error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -127,7 +127,7 @@ stable_fashion_args = StableFashionCLIArgs()
127
  stable_fashion_args.image = file_name
128
  body_part = st.radio("Would you like to try clothes on your upper body (such as shirts, kurtas etc) or lower (Jeans, Pants etc)? ", ('Upper', 'Lower'))
129
  stable_fashion_args.part = body_part
130
- 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))
131
  stable_fashion_args.resolution = resolution
132
  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)
133
  stable_fashion_args.rembg = (rembg_status == "Yes")
 
127
  stable_fashion_args.image = file_name
128
  body_part = st.radio("Would you like to try clothes on your upper body (such as shirts, kurtas etc) or lower (Jeans, Pants etc)? ", ('Upper', 'Lower'))
129
  stable_fashion_args.part = body_part
130
+ 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), index=2)
131
  stable_fashion_args.resolution = resolution
132
  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)
133
  stable_fashion_args.rembg = (rembg_status == "Yes")