From 6829d9caceed7b6efc32afcc9831a7a1907adf25 Mon Sep 17 00:00:00 2001 From: BBC-Esq Date: Wed, 17 Jul 2024 13:04:07 -0400 Subject: [PATCH 1/2] fstring #1 --- koboldcpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koboldcpp.py b/koboldcpp.py index 71762367145..9889c1deb6f 100644 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -1871,7 +1871,7 @@ def show_gui(): ctk.set_appearance_mode("dark") root = ctk.CTk() root.geometry(str(windowwidth) + "x" + str(windowheight)) - root.title("KoboldCpp v"+KcppVersion) + root.title(f"KoboldCpp v{KcppVersion}") gtooltip_box = None gtooltip_label = None From f817b7bca900037cbee4859c79ee6b99a8303ead Mon Sep 17 00:00:00 2001 From: BBC-Esq Date: Wed, 17 Jul 2024 13:09:50 -0400 Subject: [PATCH 2/2] fstring #2 --- koboldcpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koboldcpp.py b/koboldcpp.py index 9889c1deb6f..2024c97d27a 100644 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -3883,7 +3883,7 @@ def range_checker(arg: str): return f return range_checker - print("***\nWelcome to KoboldCpp - Version " + KcppVersion) # just update version manually + print(f"***\nWelcome to KoboldCpp - Version {KcppVersion}") # just update version manually # print("Python version: " + sys.version) parser = argparse.ArgumentParser(description='KoboldCpp Server') modelgroup = parser.add_mutually_exclusive_group() #we want to be backwards compatible with the unnamed positional args