mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Minor change
This commit is contained in:
parent
47666c4d00
commit
c0b5c09860
@ -40,7 +40,7 @@ if shared.args.deepspeed:
|
||||
|
||||
def find_model_type(model_name):
|
||||
model_name = model_name.lower()
|
||||
if 'rwkv-' in model_name.lower():
|
||||
if 'rwkv-' in model_name:
|
||||
return 'rwkv'
|
||||
elif len(list(Path(f'{shared.args.model_dir}/{model_name}').glob('*ggml*.bin'))) > 0:
|
||||
return 'llamacpp'
|
||||
|
Loading…
Reference in New Issue
Block a user