mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-01-08 09:40:12 +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 a new issue