mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-04-07 19:04:14 +00:00
updated
This commit is contained in:
parent
140e66fc40
commit
05cecd8635
@ -89,11 +89,15 @@ class LLMBinding:
|
||||
Returns:
|
||||
str: The path of the model.
|
||||
"""
|
||||
if self.config.model_name is None:
|
||||
return None
|
||||
|
||||
if self.config.model_name.endswith(".reference"):
|
||||
with open(str(self.lollms_paths.personal_models_path / f"{self.binding_folder_name}/{self.config.model_name}"), 'r') as f:
|
||||
model_path = Path(f.read())
|
||||
else:
|
||||
model_path = Path(self.lollms_paths.personal_models_path / f"{self.binding_folder_name}/{self.config.model_name}")
|
||||
|
||||
return model_path
|
||||
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 4e6e0fb8a4e021af6d727cbad1df014f20d04c8f
|
||||
Subproject commit ad2ed4792de4359d422b8b08a78e3a75f09e11fe
|
Loading…
x
Reference in New Issue
Block a user