fix webui
This commit is contained in:
parent
c562307476
commit
1c702ad538
|
@ -53,7 +53,7 @@ class WebChatModel(ChatModel):
|
|||
model_name_or_path=model_name_or_path,
|
||||
checkpoint_dir=checkpoint_dir,
|
||||
finetuning_type=finetuning_type,
|
||||
quantization_bit=int(quantization_bit) if quantization_bit != "None" else None,
|
||||
quantization_bit=int(quantization_bit) if quantization_bit and quantization_bit != "None" else None,
|
||||
template=template,
|
||||
system_prompt=system_prompt
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue