From 9ba8156a70b7d8d2cd79cac939aba22e080d8730 Mon Sep 17 00:00:00 2001 From: ItsLogic <38233332+ItsLogic@users.noreply.github.com> Date: Fri, 10 Mar 2023 22:33:58 +0000 Subject: [PATCH] remove unnecessary Path() --- modules/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/models.py b/modules/models.py index 467ffbee..3ec68f17 100644 --- a/modules/models.py +++ b/modules/models.py @@ -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: