From e7e1b7cf4bd714e1100b554fa296c9375604acd4 Mon Sep 17 00:00:00 2001 From: saloui <saifeddine.aloui@cea.fr> Date: Wed, 14 Jun 2023 17:12:47 +0200 Subject: [PATCH] upgraded code --- lollms/console.py | 8 +++++--- lollms/personalities_zoo | 2 +- setup.py | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/lollms/console.py b/lollms/console.py index 8312690..69e66c6 100644 --- a/lollms/console.py +++ b/lollms/console.py @@ -210,7 +210,8 @@ class MainMenu: 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}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() if choice == "1": self.select_binding() @@ -229,9 +230,10 @@ class MainMenu: print("Back to main app...") break elif choice == "-1": - sys.exit(0) + self.show_commands_list() + elif choice == "-2": print("Bye") - break + sys.exit(0) else: print("Invalid choice! Try again.") diff --git a/lollms/personalities_zoo b/lollms/personalities_zoo index 7b97bc6..9ff3d53 160000 --- a/lollms/personalities_zoo +++ b/lollms/personalities_zoo @@ -1 +1 @@ -Subproject commit 7b97bc6b466c4dce75450b34c33a1c774cd9b966 +Subproject commit 9ff3d53ae7a5ffdef2c1305fd425ada7a88a0179 diff --git a/setup.py b/setup.py index 6ad4e47..29d18a5 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ def get_all_files(path): setuptools.setup( name="lollms", - version="1.1.77", + version="1.1.78", author="Saifeddine ALOUI", author_email="aloui.saifeddine@gmail.com", description="A python library for AI personality definition",