Skip to content

Commit 159a4ab

Browse files
committed
added a back button, removed Carly
1 parent 823ebf2 commit 159a4ab

File tree

5 files changed

+16
-15
lines changed

5 files changed

+16
-15
lines changed

other_files/Lunasmixedprograms/syncfiles.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,12 @@ def sync_folder(source, destination):
3333
]
3434
subprocess.run(rsync_command)
3535

36-
pre_sync_folder(windows_path, winxlinux_temp_path)
37-
pre_sync_folder(server1_path, winxlinux_temp_path)
38-
pre_sync_folder(winxlinux_temp_path, windows_path)
39-
pre_sync_folder(winxlinux_temp_path, server1_path)
36+
pre_sync_folder(windows_path, server1_path)
37+
pre_sync_folder(server1_path, windows_path)
4038

4139
while True:
42-
sync_folder(windows_path, winxlinux_temp_path)
43-
sync_folder(winxlinux_temp_path, server1_path)
44-
45-
sync_folder(server1_path, winxlinux_temp_path)
46-
sync_folder(winxlinux_temp_path, windows_path)
40+
sync_folder(server1_path, windows_path)
41+
sync_folder(windows_path, server1_path)
4742

4843

4944
time.sleep(2) # Wait for 2 seconds before syncing again

other_files/midori_program_ver.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
`Antioquia Brushfinch` ->| 24.5.13.0 |<-
1+
`Antioquia Brushfinch` ->| 24.5.14.0 |<-

other_files/model_installer/carly_help.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,8 @@ def carly(client_openai):
133133
return
134134

135135
def chat_room(system_message, client_openai, ver_os_info, added_context):
136-
s.log("Dev Note: This copy of Carly will get some context of your setup using the Subsystem Manager")
137-
s.log("Dev Note: She can not however help you install, setup, or other tasks with non supported models.")
138-
s.log("Dev Note: Questions like ``how to install xzy model`` will make her make something up.")
139-
s.log("Dev Note: I am fully remaking this Subsystem manager api and am deeply sorry for the delay.")
140-
s.log("``Carly's servers are running in low power mode... Sorry for the slow replys`` - Luna")
136+
s.log("Dev Note: Carly is turned off due to a bug with LocalAI")
137+
return
141138
s.log("Input Question: ")
142139
message = input()
143140
s.log(f"You said: '{message}'")

other_files/model_installer/edit_models.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,14 @@ def backend_installer(self, docker_compose_yaml, client, client_openai, ver_os_i
8989
s.log("Please pick from this list of supported AI backends to add to the subsystem.")
9090
s.log(f"You can list them out like this. {str_temp}")
9191
s.log(f"Or type ``all`` to install all supported backends")
92+
s.log(f"Type ``back`` to go back to the main menu")
9293

9394
picked_backends = str(input("Request Backends: ")).lower()
9495
requested_backends = []
9596

97+
if picked_backends == "back":
98+
return
99+
96100
if picked_backends == "all":
97101
picked_backends = str(list_of_supported_backends)
98102

@@ -164,10 +168,14 @@ def backend_uninstaller(self, docker_compose_yaml, client, ver_os_info):
164168
s.log(f"{str(list_of_supported_backends).lower()}")
165169
s.log("Please pick from this list of supported AI backends to remove from the subsystem.")
166170
s.log(f"Type ``all`` to remove all supported backends")
171+
s.log(f"Type ``back`` to go back to the main menu")
167172

168173
picked_backends = str(input("Request Backends: ")).lower()
169174
requested_backends = []
170175

176+
if picked_backends == "back":
177+
return
178+
171179
if picked_backends == "all":
172180
picked_backends = str(list_of_supported_backends)
173181

other_files/model_installer/subsystem_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
os.system("del subsystem_manager.zip > nul")
8383
os.system("del model_installer.bat > nul")
8484
os.system("del model_installer.exe > nul")
85+
os.system("del restart.bat > nul")
8586
else:
8687
os.system("rm -f model_installer_linux.tar.gz > /dev/null")
8788
os.system("rm -f subsystem_manager.tar.gz > /dev/null")

0 commit comments

Comments
 (0)