mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-02-21 17:36:39 +00:00
fixed model install
This commit is contained in:
parent
94412f791c
commit
0ae483be39
@ -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
|
Loading…
x
Reference in New Issue
Block a user