Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ParisNeo authored Nov 15, 2023
1 parent 14327e7 commit 550c143
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
######
# Project : lollms-webui
# File : api.py
# File : api/__init__.py
# Author : ParisNeo with the help of the community
# license : Apache 2.0
# Description :
Expand Down Expand Up @@ -430,7 +430,7 @@ def uninstall_model(data):
installation_dir = self.binding.searchModelParentFolder(model_path)

binding_folder = self.config["binding_name"]
if model_type=="gptq":
if model_type=="gptq" or model_type=="awq":
filename = model_path.split("/")[4]
installation_path = installation_dir / filename
else:
Expand Down

0 comments on commit 550c143

Please sign in to comment.