Less verbose message
This commit is contained in:
parent
202e981d00
commit
572bafcd24
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ def save_prompt(text):
|
||||||
fname = f"{datetime.now().strftime('%Y-%m-%d-%H:%M:%S')}.txt"
|
fname = f"{datetime.now().strftime('%Y-%m-%d-%H:%M:%S')}.txt"
|
||||||
with open(Path(f'prompts/{fname}'), 'w', encoding='utf-8') as f:
|
with open(Path(f'prompts/{fname}'), 'w', encoding='utf-8') as f:
|
||||||
f.write(text)
|
f.write(text)
|
||||||
return f"Saved prompt to prompts/{fname}"
|
return f"Saved to prompts/{fname}"
|
||||||
|
|
||||||
def load_prompt(fname):
|
def load_prompt(fname):
|
||||||
if fname in ['None', '']:
|
if fname in ['None', '']:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue