Skip to content

Commit

Permalink
Revert "fix paths with spaces"
Browse files Browse the repository at this point in the history
This reverts commit 7af9e48.
  • Loading branch information
devNegative-asm committed Mar 4, 2023
1 parent 7af9e48 commit 129cd5f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library/extract_lora_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def extract_lora(
return

run_cmd = (
f'{PYTHON} {os.path.join("networks","extract_lora_from_models.py")}'
f'{PYTHON} "{os.path.join("networks","extract_lora_from_models.py")}"'
)
run_cmd += f' --save_precision {save_precision}'
run_cmd += f' --save_to "{save_to}"'
Expand Down
2 changes: 1 addition & 1 deletion library/merge_lora_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def merge_lora(
ratio_a = ratio
ratio_b = 1 - ratio

run_cmd = f'{PYTHON} {os.path.join("networks","merge_lora.py")}'
run_cmd = f'{PYTHON} "{os.path.join("networks","merge_lora.py")}"'
run_cmd += f' --save_precision {save_precision}'
run_cmd += f' --precision {precision}'
run_cmd += f' --save_to "{save_to}"'
Expand Down
2 changes: 1 addition & 1 deletion library/resize_lora_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def resize_lora(
if device == '':
device = 'cuda'

run_cmd = f'{PYTHON} {os.path.join("networks","resize_lora.py")}'
run_cmd = f'{PYTHON} "{os.path.join("networks","resize_lora.py")}"'
run_cmd += f' --save_precision {save_precision}'
run_cmd += f' --save_to {save_to}'
run_cmd += f' --model {model}'
Expand Down

0 comments on commit 129cd5f

Please sign in to comment.