AnwenHu commited on
Commit
7caebf7
1 Parent(s): 1aff393

Update app.py

Browse files

revert removing image resize

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -280,7 +280,7 @@ def build_demo(embed_mode):
280
  with gr.Column(scale=3):
281
  imagebox = gr.Image(type="pil")
282
  image_process_mode = gr.Radio(
283
- ["Default"],
284
  value="Default",
285
  label="Preprocess for non-square image", visible=False)
286
 
 
280
  with gr.Column(scale=3):
281
  imagebox = gr.Image(type="pil")
282
  image_process_mode = gr.Radio(
283
+ ["Crop", "Resize", "Pad", "Default"],
284
  value="Default",
285
  label="Preprocess for non-square image", visible=False)
286