Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaltais committed Apr 15, 2024
1 parent 5187426 commit 665f8ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions kohya_gui/class_basic_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,15 +290,15 @@ def lr_scheduler_changed(scheduler, value):
if scheduler == "constant":
self.old_lr_warmup = value
value = 0
interractive=False
interactive=False
info="Can't use LR warmup with LR Scheduler constant... setting to 0 and disabling field..."
else:
if self.old_lr_warmup != 0:
value = self.old_lr_warmup
self.old_lr_warmup = 0
interractive=True
interactive=True
info=""
return gr.Slider(value=value, interactive=interractive, info=info)
return gr.Slider(value=value, interactive=interactive, info=info)

self.lr_scheduler.change(
lr_scheduler_changed,
Expand Down
2 changes: 1 addition & 1 deletion kohya_gui/class_command_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def execute_command(self, run_cmd: str, **kwargs):

# Reconstruct the safe command string for display
command_to_run = ' '.join(run_cmd)
log.info(f"Executings command: {command_to_run}")
log.info(f"Executing command: {command_to_run}")

# Execute the command securely
self.process = subprocess.Popen(run_cmd, **kwargs)
Expand Down

0 comments on commit 665f8ca

Please sign in to comment.