byeongjun-park commited on
Commit
8698bf7
·
verified ·
1 Parent(s): 1206739

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -193,7 +193,7 @@ def run_demo():
193
  ['hf_demo/examples/teapot.png',20,200,"SAM output"],
194
  ]
195
 
196
- image_block = gr.Image(type='pil', image_mode='RGBA', height=256, label='Input image', tool=None, interactive=True)
197
  elevation = gr.Slider(-10, 40, 30, step=5, label='Elevation angle', interactive=True)
198
  crop_size = gr.Slider(120, 240, 200, step=10, label='Crop size', interactive=True)
199
  background_removal = gr.Radio(["Input image", "SAM output"], label="Input to HarmonyView", info="Which image do you want for the input to HarmonyView?")
 
193
  ['hf_demo/examples/teapot.png',20,200,"SAM output"],
194
  ]
195
 
196
+ image_block = gr.Image(type='pil', image_mode='RGBA', height=256, label='Input image', interactive=True)
197
  elevation = gr.Slider(-10, 40, 30, step=5, label='Elevation angle', interactive=True)
198
  crop_size = gr.Slider(120, 240, 200, step=10, label='Crop size', interactive=True)
199
  background_removal = gr.Radio(["Input image", "SAM output"], label="Input to HarmonyView", info="Which image do you want for the input to HarmonyView?")