mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
fixed unwanted removal
This commit is contained in:
parent
621801da0e
commit
caab9cb8ae
1 changed files with 1 additions and 2 deletions
|
@ -2662,8 +2662,7 @@ def show_gui():
|
|||
else:
|
||||
item.grid_remove()
|
||||
label.grid_remove()
|
||||
|
||||
if usehorde_var.get()==1 and not horde_name_var.get() and model_var.get():
|
||||
if usehorde_var.get()==1 and (horde_name_var.get()=="koboldcpp" or horde_name_var.get()=="") and model_var.get()!="":
|
||||
basefile = os.path.basename(model_var.get())
|
||||
horde_name_var.set(sanitize_string(os.path.splitext(basefile)[0]))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue