File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
apps/models_provider/impl
aliyun_bai_lian_model_provider/credential
volcanic_engine_model_provider/credential Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments