mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-24 14:56:44 +00:00
upgraded code
This commit is contained in:
parent
633837a2a1
commit
e7e1b7cf4b
@ -210,7 +210,8 @@ class MainMenu:
|
|||||||
print(f"{ASCIIColors.color_green}5 -{ASCIIColors.color_reset} Reinstall current Personality")
|
print(f"{ASCIIColors.color_green}5 -{ASCIIColors.color_reset} Reinstall current Personality")
|
||||||
print(f"{ASCIIColors.color_green}6 -{ASCIIColors.color_reset} Reset all installs")
|
print(f"{ASCIIColors.color_green}6 -{ASCIIColors.color_reset} Reset all installs")
|
||||||
print(f"{ASCIIColors.color_green}0 -{ASCIIColors.color_reset} Back to app")
|
print(f"{ASCIIColors.color_green}0 -{ASCIIColors.color_reset} Back to app")
|
||||||
print(f"{ASCIIColors.color_green}-1 -{ASCIIColors.color_reset} Exit app")
|
print(f"{ASCIIColors.color_green}-1 -{ASCIIColors.color_reset} Help")
|
||||||
|
print(f"{ASCIIColors.color_green}-2 -{ASCIIColors.color_reset} Exit app")
|
||||||
choice = input("Enter your choice: ").strip()
|
choice = input("Enter your choice: ").strip()
|
||||||
if choice == "1":
|
if choice == "1":
|
||||||
self.select_binding()
|
self.select_binding()
|
||||||
@ -229,9 +230,10 @@ class MainMenu:
|
|||||||
print("Back to main app...")
|
print("Back to main app...")
|
||||||
break
|
break
|
||||||
elif choice == "-1":
|
elif choice == "-1":
|
||||||
sys.exit(0)
|
self.show_commands_list()
|
||||||
|
elif choice == "-2":
|
||||||
print("Bye")
|
print("Bye")
|
||||||
break
|
sys.exit(0)
|
||||||
else:
|
else:
|
||||||
print("Invalid choice! Try again.")
|
print("Invalid choice! Try again.")
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 7b97bc6b466c4dce75450b34c33a1c774cd9b966
|
Subproject commit 9ff3d53ae7a5ffdef2c1305fd425ada7a88a0179
|
2
setup.py
2
setup.py
@ -26,7 +26,7 @@ def get_all_files(path):
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="lollms",
|
name="lollms",
|
||||||
version="1.1.77",
|
version="1.1.78",
|
||||||
author="Saifeddine ALOUI",
|
author="Saifeddine ALOUI",
|
||||||
author_email="aloui.saifeddine@gmail.com",
|
author_email="aloui.saifeddine@gmail.com",
|
||||||
description="A python library for AI personality definition",
|
description="A python library for AI personality definition",
|
||||||
|
Loading…
Reference in New Issue
Block a user