mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Block navigation on all remote modes
This commit is contained in:
@ -366,7 +366,7 @@ def sendModelSelection(menu="mainmenu", folder="./models"):
|
||||
#If we send one of the manual load options, send back the list of model directories, otherwise send the menu
|
||||
if menu in ('NeoCustom', 'GPT2Custom'):
|
||||
(paths, breadcrumbs) = get_folder_path_info(folder)
|
||||
if args.remote:
|
||||
if vars.host:
|
||||
breadcrumbs = []
|
||||
menu_list = [[folder, menu, "", False] for folder in paths]
|
||||
menu_list.append(["Return to Main Menu", "mainmenu", "", True])
|
||||
|
Reference in New Issue
Block a user