File tree Expand file tree Collapse file tree
apps/models_provider/impl
aliyun_bai_lian_model_provider/credential
minimax_model_provider/credential
volcanic_engine_model_provider/credential Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ class QwenModelParams(BaseForm):
3131
3232 watermark = SwitchField (
3333 TooltipLabel (_ ('Watermark' ), _ ('Whether to add watermark' )),
34- attrs = {"active-value" : "true" , "inactive-value" : "false" },
34+ attrs = {"active-value" : True , "inactive-value" : False },
3535 default_value = False ,
3636 )
3737
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class QwenModelParams(BaseForm):
3434
3535 watermark = SwitchField (
3636 TooltipLabel (_ ('Watermark' ), _ ('Whether to add watermark' )),
37- attrs = {"active-value" : "true" , "inactive-value" : "false" },
37+ attrs = {"active-value" : True , "inactive-value" : False },
3838 default_value = False ,
3939 )
4040
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class VolcanicEngineTTVModelGeneralParams(BaseForm):
4747
4848 watermark = SwitchField (
4949 TooltipLabel (_ ('Watermark' ), _ ('Whether to add watermark' )),
50- attrs = {"active-value" : "true" , "inactive-value" : "false" },
50+ attrs = {"active-value" : True , "inactive-value" : False },
5151 default_value = False ,
5252 )
5353
You can’t perform that action at this time.
0 commit comments