mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-19 04:17:52 +00:00
Update __init__.py
This commit is contained in:
parent
14327e7541
commit
550c143bfd
@ -1,6 +1,6 @@
|
|||||||
######
|
######
|
||||||
# Project : lollms-webui
|
# Project : lollms-webui
|
||||||
# File : api.py
|
# File : api/__init__.py
|
||||||
# Author : ParisNeo with the help of the community
|
# Author : ParisNeo with the help of the community
|
||||||
# license : Apache 2.0
|
# license : Apache 2.0
|
||||||
# Description :
|
# Description :
|
||||||
@ -430,7 +430,7 @@ class LoLLMsAPPI(LollmsApplication):
|
|||||||
installation_dir = self.binding.searchModelParentFolder(model_path)
|
installation_dir = self.binding.searchModelParentFolder(model_path)
|
||||||
|
|
||||||
binding_folder = self.config["binding_name"]
|
binding_folder = self.config["binding_name"]
|
||||||
if model_type=="gptq":
|
if model_type=="gptq" or model_type=="awq":
|
||||||
filename = model_path.split("/")[4]
|
filename = model_path.split("/")[4]
|
||||||
installation_path = installation_dir / filename
|
installation_path = installation_dir / filename
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user