niulx commited on
Commit
a3221b4
1 Parent(s): 622edaa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -249,7 +249,7 @@ with gr.Blocks() as demo:
249
 
250
  add_button = gr.Button("Run optimization")
251
  def run_optimization_wrapper (
252
- mask_list,
253
  mask_label_list,
254
  image,
255
  opt_flag,
@@ -264,7 +264,7 @@ with gr.Blocks() as demo:
264
  if 1:
265
  run_optimization = partial(
266
  run_main,
267
- mask_list=mask_list,
268
  mask_label_list=mask_label_list,
269
  image_gt=image,
270
  num_tokens=int(num_tokens),
 
249
 
250
  add_button = gr.Button("Run optimization")
251
  def run_optimization_wrapper (
252
+ mask_np_list,
253
  mask_label_list,
254
  image,
255
  opt_flag,
 
264
  if 1:
265
  run_optimization = partial(
266
  run_main,
267
+ mask_np_list=mask_np_list,
268
  mask_label_list=mask_label_list,
269
  image_gt=image,
270
  num_tokens=int(num_tokens),