Support LoRAs for Q8/Q5/Q4 GGUF Models

what a crazy night of math
This commit is contained in:
layerdiffusion
2024-08-15 05:34:33 -07:00
parent fd0d25ba8a
commit 1bd6cf0e0c
5 changed files with 149 additions and 37 deletions

View File

@@ -324,7 +324,7 @@ class UiSettings:
)
def button_set_checkpoint_change(value, dummy):
return value, opts.dumpjson()
return value.split(' [')[0], opts.dumpjson()
button_set_checkpoint = gr.Button('Change checkpoint', elem_id='change_checkpoint', visible=False)
button_set_checkpoint.click(