mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-22 03:10:03 +00:00
runmode untouched fix
This commit is contained in:
parent
330921db15
commit
f43667f499
1 changed files with 2 additions and 2 deletions
|
|
@ -1932,14 +1932,14 @@ def show_new_gui():
|
|||
|
||||
def load_config():
|
||||
file_type = [("KoboldCpp Settings", "*.kcpps")]
|
||||
global runmode_untouched
|
||||
runmode_untouched = False
|
||||
filename = askopenfilename(filetypes=file_type, defaultextension=file_type)
|
||||
if not filename or filename=="":
|
||||
return
|
||||
with open(filename, 'r') as f:
|
||||
dict = json.load(f)
|
||||
import_vars(dict)
|
||||
global runmode_untouched
|
||||
runmode_untouched = False
|
||||
pass
|
||||
|
||||
def display_help():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue