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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -280,10 +280,8 @@ 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
-
287
  cur_dir = os.path.dirname(os.path.abspath(__file__))
288
  gr.Examples(examples=[
289
  [f"{cur_dir}/examples/cvpr.png", "what is this schedule for? Give detailed explanation."],
 
280
  with gr.Column(scale=3):
281
  imagebox = gr.Image(type="pil")
282
  image_process_mode = gr.Radio(
283
+ ["Default"],
284
+ value="Default", label="Preprocess for non-square image", visible=False)
 
 
285
  cur_dir = os.path.dirname(os.path.abspath(__file__))
286
  gr.Examples(examples=[
287
  [f"{cur_dir}/examples/cvpr.png", "what is this schedule for? Give detailed explanation."],