mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 09:04:36 +00:00
fix off-by-one npast during some instances of fast forwarding
This commit is contained in:
parent
f10574e598
commit
f125e724eb
3 changed files with 11 additions and 3 deletions
|
@ -4367,6 +4367,9 @@ def show_gui():
|
|||
def on_picked_model_file(filepath):
|
||||
if filepath and (filepath.lower().endswith('.kcpps') or filepath.lower().endswith('.kcppt')):
|
||||
#load it as a config file instead
|
||||
if filepath.lower().endswith('.kcpps'):
|
||||
global runmode_untouched
|
||||
runmode_untouched = False
|
||||
with open(filepath, 'r', encoding='utf-8', errors='ignore') as f:
|
||||
dict = json.load(f)
|
||||
import_vars(dict)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue