From 24d34647e0bc6a171c9ba07ca1cb324497a60297 Mon Sep 17 00:00:00 2001 From: Henk Date: Wed, 15 Jun 2022 12:32:19 +0200 Subject: [PATCH] Block navigation on all remote modes --- aiserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiserver.py b/aiserver.py index 54bda55b..dec88252 100644 --- a/aiserver.py +++ b/aiserver.py @@ -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])