Skip to content

Commit 3a94d0f

Browse files
committed
fix: update active/inactive values for aigc_watermark to boolean
1 parent 239e63e commit 3a94d0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/models_provider/impl/minimax_model_provider/credential

apps/models_provider/impl/minimax_model_provider/credential/ttv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class MiniMaxModelParams(BaseForm):
2020

2121
aigc_watermark = SwitchField(
2222
TooltipLabel(_('Watermark'), _('Whether to add watermark')),
23-
attrs={"active-value": "true", "inactive-value": "false"},
23+
attrs={"active-value": True, "inactive-value": False},
2424
default_value=False,
2525
)
2626

0 commit comments

Comments
 (0)