WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit d393e28

Browse files
authored
fix: Local rearrangement model cannot be added (#4510)
1 parent d5e04a1 commit d393e28

File tree

1 file changed

+1
-1
lines changed
  • apps/models_provider/impl/local_model_provider/credential/reranker

1 file changed

+1
-1
lines changed

apps/models_provider/impl/local_model_provider/credential/reranker/web.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ def is_valid(self, model_type: str, model_name, model_credential: Dict[str, obje
3434
def encryption_dict(self, model: Dict[str, object]):
3535
return model
3636

37-
cache_folder = forms.TextInputField(_('Model catalog'), required=True)
37+
cache_dir = forms.TextInputField(_('Model catalog'), required=True)

0 commit comments

Comments
 (0)