Fix a bug in modules/shared.py
This commit is contained in:
parent
2cf64474f2
commit
a373c96d59
1 changed files with 3 additions and 0 deletions
|
@ -199,6 +199,9 @@ if args.multi_user:
|
|||
|
||||
|
||||
def fix_loader_name(name):
|
||||
if not name:
|
||||
return name
|
||||
|
||||
name = name.lower()
|
||||
if name in ['llamacpp', 'llama.cpp', 'llama-cpp', 'llama cpp']:
|
||||
return 'llama.cpp'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue