Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
)
|