From 572bafcd24099553cd432e4a695a20050386f8c9 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Mon, 27 Mar 2023 12:43:37 -0300 Subject: [PATCH] Less verbose message --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 27525e43..020093ee 100644 --- a/server.py +++ b/server.py @@ -135,7 +135,7 @@ def save_prompt(text): fname = f"{datetime.now().strftime('%Y-%m-%d-%H:%M:%S')}.txt" with open(Path(f'prompts/{fname}'), 'w', encoding='utf-8') as f: f.write(text) - return f"Saved prompt to prompts/{fname}" + return f"Saved to prompts/{fname}" def load_prompt(fname): if fname in ['None', '']: