mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-26 06:10:39 +01:00
Fix a bug in modules/shared.py
This commit is contained in:
parent
2cf64474f2
commit
a373c96d59
@ -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…
Reference in New Issue
Block a user