Skip to content

Commit db94d4f

Browse files
authored
Update models_settings.py - fix indent
1 parent e24a01a commit db94d4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/models_settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ def infer_loader(model_name):
2828
loader = 'llama.cpp'
2929
elif re.match('\.*\.gguf', model_name.lower()):
3030
loader = 'llama.cpp'
31-
elif re.match('.*gguf.*\.bin', model_name.lower()):
31+
elif re.match('.*gguf.*\.bin', model_name.lower()):
3232
loader = 'llama.cpp'
33-
elif re.match('.*ggml.*\.bin', model_name.lower()):
33+
elif re.match('.*ggml.*\.bin', model_name.lower()):
3434
loader = 'llama.cpp'
3535
elif re.match('.*rwkv.*\.pth', model_name.lower()):
3636
loader = 'RWKV'

0 commit comments

Comments
 (0)