fixed model install

This commit is contained in:
Saifeddine ALOUI 2023-10-19 02:30:18 +02:00
parent 94412f791c
commit 0ae483be39
2 changed files with 3 additions and 3 deletions

View File

@ -254,10 +254,10 @@ class LoLLMsAPPI(LollmsApplication):
def install_model_():
print("Install model triggered")
model_path = data["path"]
model_path = data["path"].replace("\\","/")
model_type:str=data["type"]
progress = 0
installation_dir = self.lollms_paths.personal_models_path/self.config["binding_name"]
installation_dir = self.binding.searchModelParentFolder(model_path.split('/')[-1])
if model_type=="gptq":
parts = model_path.split("/")
if len(parts)==2:

@ -1 +1 @@
Subproject commit ac4a2699af1c6917fbed695bd4b7c02231e9bea3
Subproject commit b0eed950178f3bcc8e2c01ec592dcb1c6037c58f