From ebdf4c8c12ba8e284efca5f42e94389d09828f35 Mon Sep 17 00:00:00 2001 From: Usama Kenway Date: Sun, 9 Apr 2023 16:53:21 +0500 Subject: [PATCH] path fixed --- server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index 36cf57b4..676c715a 100644 --- a/server.py +++ b/server.py @@ -195,9 +195,9 @@ def download_model_wrapper(repo_id): is_lora = True repo_dir_name = repo_id.replace("/", "--") if is_lora is True: - models_dir = ".loras" + models_dir = "loras" else: - models_dir = ".models" + models_dir = "models" if not os.path.exists(models_dir): os.makedirs(models_dir) repo_dir = os.path.join(models_dir, repo_dir_name)