Deletes old output renderer and renames AutonomousAI folder to scripts

This commit is contained in:
Torantulino
2023-03-31 22:49:17 +01:00
parent fa5cc20f4a
commit 7f98e8adfe
18 changed files with 8 additions and 146 deletions

10
scripts/data.py Normal file
View File

@@ -0,0 +1,10 @@
def load_prompt():
try:
# Load the promt from data/prompt.txt
with open("data/prompt.txt", "r") as prompt_file:
prompt = prompt_file.read()
return prompt
except FileNotFoundError:
print("Error: Prompt file not found", flush=True)
return ""