Skip to content

Commit 2e69698

Browse files
committed
chore: update watermark attributes and cache timeout settings
1 parent b42f6bd commit 2e69698

File tree

3 files changed

+3
-0
lines changed
  • apps/models_provider/impl
    • aliyun_bai_lian_model_provider/credential
    • volcanic_engine_model_provider/credential

3 files changed

+3
-0
lines changed

apps/models_provider/impl/aliyun_bai_lian_model_provider/credential/itv.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class QwenModelParams(BaseForm):
3131

3232
watermark = SwitchField(
3333
TooltipLabel(_('Watermark'), _('Whether to add watermark')),
34+
attrs={"active-value": "true", "inactive-value": "false"},
3435
default_value=False,
3536
)
3637

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class QwenModelParams(BaseForm):
3333

3434
watermark = SwitchField(
3535
TooltipLabel(_('Watermark'), _('Whether to add watermark')),
36+
attrs={"active-value": "true", "inactive-value": "false"},
3637
default_value=False,
3738
)
3839

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ class VolcanicEngineTTVModelGeneralParams(BaseForm):
4747

4848
watermark = SwitchField(
4949
TooltipLabel(_('Watermark'), _('Whether to add watermark')),
50+
attrs={"active-value": "true", "inactive-value": "false"},
5051
default_value=False,
5152
)
5253

0 commit comments

Comments
 (0)