make argument non case-sensitive

This commit is contained in:
Ayanami Rei 2023-03-13 20:22:38 +03:00
parent b746250b2f
commit e1c952c41c

View File

@ -91,7 +91,7 @@ def load_model(model_name):
elif shared.args.gptq_bits > 0: elif shared.args.gptq_bits > 0:
from modules.quant_loader import load_quantized from modules.quant_loader import load_quantized
model = load_quantized(model_name, shared.args.gptq_model_type) model = load_quantized(model_name, shared.args.gptq_model_type.lower())
# Custom # Custom
else: else: