Skip to content

Commit

Permalink
Revert changing value
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaltais committed Dec 20, 2023
1 parent 6c5ed5c commit d87d7ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lora_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1505,7 +1505,7 @@ def update_LoRA_settings(
"maximum": 100000
if LoRA_type in {"LyCORIS/LoHa", "LyCORIS/LoKr", "LyCORIS/Diag-OFT"}
else 512,
"value": 512 if conv_dim > 512 else conv_dim,
"value": 512, # if conv_dim > 512 else conv_dim,
},
},
"network_dim": {
Expand All @@ -1514,7 +1514,7 @@ def update_LoRA_settings(
"maximum": 100000
if LoRA_type in {"LyCORIS/LoHa", "LyCORIS/LoKr", "LyCORIS/Diag-OFT"}
else 512,
"value": 512 if network_dim > 512 else network_dim,
"value": 512, # if network_dim > 512 else network_dim,
},
},
"use_cp": {
Expand Down

0 comments on commit d87d7ca

Please sign in to comment.