remove unnecessary Path()

This commit is contained in:
ItsLogic 2023-03-10 22:33:58 +00:00 committed by GitHub
parent e6c631aea4
commit 9ba8156a70
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,7 +117,7 @@ def load_model(model_name):
print(f"Could not find {pt_model}, exiting...")
exit()
model = load_quant(path_to_model, Path(f"{pt_path}"), bits)
model = load_quant(path_to_model, pt_path, bits)
# Multi-GPU setup
if shared.args.gpu_memory: