mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-24 06:46:40 +00:00
fixed error
This commit is contained in:
parent
ec5b4bd018
commit
9eee751ccf
@ -208,8 +208,12 @@ class LLMBinding:
|
|||||||
ASCIIColors.red(f"UnInstalling {self.binding_folder_name}")
|
ASCIIColors.red(f"UnInstalling {self.binding_folder_name}")
|
||||||
ASCIIColors.blue("*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*")
|
ASCIIColors.blue("*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*")
|
||||||
|
|
||||||
def searchModelParentFolder(self, model_name:str):
|
def searchModelParentFolder(self, model_name:str, model_type=None):
|
||||||
model_path=None
|
model_path=None
|
||||||
|
if model_type is not None:
|
||||||
|
for mn in self.models_folders:
|
||||||
|
if mn.name.lower() == model_type.lower():
|
||||||
|
return mn
|
||||||
for mn in self.models_folders:
|
for mn in self.models_folders:
|
||||||
if mn.name in model_name.lower():
|
if mn.name in model_name.lower():
|
||||||
model_path = mn
|
model_path = mn
|
||||||
|
2
setup.py
2
setup.py
@ -26,7 +26,7 @@ def get_all_files(path):
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="lollms",
|
name="lollms",
|
||||||
version="5.8.8",
|
version="5.8.9",
|
||||||
author="Saifeddine ALOUI",
|
author="Saifeddine ALOUI",
|
||||||
author_email="aloui.saifeddine@gmail.com",
|
author_email="aloui.saifeddine@gmail.com",
|
||||||
description="A python library for AI personality definition",
|
description="A python library for AI personality definition",
|
||||||
|
Loading…
Reference in New Issue
Block a user