AnwenHu commited on
Commit
fb711b1
1 Parent(s): f8fe8f5

Update app.py

Browse files

remove image resize during pre-process

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
- ["Crop", "Resize", "Pad", "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
+ [],
284
  value="Default",
285
  label="Preprocess for non-square image", visible=False)
286