fixed WONKY CODE
This commit is contained in:
parent
0b08ec7c5d
commit
3e88616439
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ def pick_existant_file(ntoption,nonntoption):
|
||||||
return ntoption
|
return ntoption
|
||||||
else:
|
else:
|
||||||
if ntexist and not nonntexist:
|
if ntexist and not nonntexist:
|
||||||
return option1
|
return ntoption
|
||||||
return option2
|
return nonntoption
|
||||||
|
|
||||||
lib_default = pick_existant_file("koboldcpp.dll","koboldcpp.so")
|
lib_default = pick_existant_file("koboldcpp.dll","koboldcpp.so")
|
||||||
lib_noavx2 = pick_existant_file("koboldcpp_noavx2.dll","koboldcpp_noavx2.so")
|
lib_noavx2 = pick_existant_file("koboldcpp_noavx2.dll","koboldcpp_noavx2.so")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue