Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
-
|
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 |
-
|
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),
|