File tree 4 files changed +8
-0
lines changed
4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -654,6 +654,8 @@ def train_model(
654
654
gr .Button (visible = False or headless ),
655
655
gr .Textbox (value = train_state_value ),
656
656
]
657
+
658
+ max_train_steps_info = "Automatic by sd-scripts"
657
659
658
660
if executor .is_running ():
659
661
log .error ("Training is already running. Can't start another training session." )
Original file line number Diff line number Diff line change @@ -685,6 +685,8 @@ def train_model(
685
685
gr .Button (visible = False or headless ),
686
686
gr .Textbox (value = train_state_value ),
687
687
]
688
+
689
+ max_train_steps_info = "Automatic by sd-scripts"
688
690
689
691
if executor .is_running ():
690
692
log .error ("Training is already running. Can't start another training session." )
Original file line number Diff line number Diff line change @@ -883,6 +883,8 @@ def train_model(
883
883
gr .Button (visible = False or headless ),
884
884
gr .Textbox (value = train_state_value ),
885
885
]
886
+
887
+ max_train_steps_info = "Automatic by sd-scripts"
886
888
887
889
if executor .is_running ():
888
890
log .error ("Training is already running. Can't start another training session." )
Original file line number Diff line number Diff line change @@ -521,6 +521,8 @@ def train_model(
521
521
gr .Textbox (value = train_state_value ),
522
522
]
523
523
524
+ max_train_steps_info = "Automatic by sd-scripts"
525
+
524
526
if executor .is_running ():
525
527
log .error ("Training is already running. Can't start another training session." )
526
528
return TRAIN_BUTTON_VISIBLE
You can’t perform that action at this time.
0 commit comments