Browse Source

path fixed

Usama Kenway 2 năm trước cách đây
mục cha
commit
ebdf4c8c12
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      server.py

+ 2 - 2
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)