You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: koboldcpp.py
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -997,10 +997,18 @@ def switch_old_gui():
997
997
time.sleep(2)
998
998
sys.exit(2)
999
999
1000
+
defshow_gui_warning():
1001
+
fromtkinterimportmessagebox
1002
+
importtkinterastk
1003
+
root=tk.Tk()
1004
+
root.attributes("-alpha", 0)
1005
+
messagebox.showerror(title="New GUI failed, using Old GUI", message="The new GUI failed to load.\n\nTo use new GUI, please install the customtkinter python module.")
0 commit comments