mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-02-22 14:44:33 +01:00
Deletes old output renderer and renames AutonomousAI folder to scripts
This commit is contained in:
10
scripts/data.py
Normal file
10
scripts/data.py
Normal 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 ""
|
||||
Reference in New Issue
Block a user