From 2d7a00525e9824e81f53cdd45b7dc6268b662a95 Mon Sep 17 00:00:00 2001 From: henk717 Date: Thu, 23 Dec 2021 01:47:05 +0100 Subject: [PATCH] Path fix In my last commit it didn't compensate the file location properly, this is now fixed. --- aiserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiserver.py b/aiserver.py index b5071f0f..d046a437 100644 --- a/aiserver.py +++ b/aiserver.py @@ -866,7 +866,7 @@ if(not vars.model in ["InferKit", "Colab", "OAI", "ReadOnly", "TPUMeshTransforme lowmem = {} # Make model path the same as the model name to make this consistent with the other loading method - vars.custmodpth = vars.model + vars.custmodpth = vars.model.replace('/', '_') # Download model from Huggingface if it does not exist, otherwise load locally