From 3e88616439c504c8f5e7f1235be589c144988487 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Thu, 20 Apr 2023 16:41:32 +0800 Subject: [PATCH] fixed WONKY CODE --- koboldcpp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koboldcpp.py b/koboldcpp.py index 43fc3eb5f..a8f37b857 100644 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -52,8 +52,8 @@ def pick_existant_file(ntoption,nonntoption): return ntoption else: if ntexist and not nonntexist: - return option1 - return option2 + return ntoption + return nonntoption lib_default = pick_existant_file("koboldcpp.dll","koboldcpp.so") lib_noavx2 = pick_existant_file("koboldcpp_noavx2.dll","koboldcpp_noavx2.so")