Skip to content

Commit

Permalink
Streamline with fstrings (#1006)
Browse files Browse the repository at this point in the history
* fstring #1

* fstring #2
  • Loading branch information
BBC-Esq authored Jul 18, 2024
1 parent 6080fa3 commit ce971a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions koboldcpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2056,7 +2056,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
Expand Down Expand Up @@ -4070,7 +4070,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
Expand Down

0 comments on commit ce971a0

Please sign in to comment.