Skip to content

Commit

Permalink
temp fix for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
YellowRoseCx committed May 25, 2024
1 parent fc19589 commit 798f516
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion koboldcpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1732,7 +1732,10 @@ def hide_tooltip(event):
contextshift = ctk.IntVar(value=1)
remotetunnel = ctk.IntVar(value=0)
smartcontext = ctk.IntVar()
flashattention = ctk.IntVar(value=0)
if os.name == "nt":
flashattention = ctk.IntVar(value=1)
else:
flashattention = ctk.IntVar(value=0)
context_var = ctk.IntVar()
customrope_var = ctk.IntVar()
customrope_scale = ctk.StringVar(value="1.0")
Expand Down

0 comments on commit 798f516

Please sign in to comment.