ironjr commited on
Commit
9428f3e
·
verified ·
1 Parent(s): a65a019

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -473,7 +473,7 @@ def draw(state, drawpad):
473
  for i in range(len(has_masks)):
474
  model.update_single_layer(
475
  idx=i,
476
- mask=masks[i],
477
  mask_strength=mask_strengths[i],
478
  mask_std=mask_stds[i],
479
  )
 
473
  for i in range(len(has_masks)):
474
  model.update_single_layer(
475
  idx=i,
476
+ mask=masks[i:i + 1],
477
  mask_strength=mask_strengths[i],
478
  mask_std=mask_stds[i],
479
  )