Upload of NEW script.py & tts_server.py

Fully re-worked script.py and tts_server.py

### THIS IS THE BIG CHANGE COMMIT FOR V2 ###
This commit is contained in:
erew123 authored and GitHub committed 2024-11-22 07:36:02 +00:00
1 parent 85f204c3f1
commit 73d3bc7495
3 files changed
+362 -199

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ def print_message(message, message_type="standard", component="TTS"):
if message_type == "debug_func" and "Function entry:" in message:
message_parts = message.split("Function entry:", 1)
print(f"{prefix}{BLUE}Debug{RESET} {YELLOW}{message_type}{RESET} Function entry:{GREEN}{message_parts[1]}{RESET}")
print(f"{prefix}{BLUE}Debug{RESET} {YELLOW}{message_type}{RESET} Function entry:{GREEN}{message_parts[1]}{RESET} tts_server.py")
else:
print(f"{prefix}{BLUE}Debug{RESET} {YELLOW}{message_type}{RESET} {message}")