ovshake commited on
Commit
975c056
1 Parent(s): 0ce0de2

add stock image

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -142,6 +142,9 @@ stable_fashion_args.num_steps = num_steps
142
  if file_name is not None:
143
  result_image = process_image(stable_fashion_args, inpainting_pipeline, net)
144
  st.image(result_image, caption='Result')
 
 
 
145
 
146
 
147
 
 
142
  if file_name is not None:
143
  result_image = process_image(stable_fashion_args, inpainting_pipeline, net)
144
  st.image(result_image, caption='Result')
145
+ else:
146
+ stock_image = PIL.open('assets/abhishek_yellow.jpg')
147
+ st.image(stock_image, caption='Result')
148
 
149
 
150