Spaces:
Running
Running
ryanrwatkins
commited on
Commit
•
0da7b86
1
Parent(s):
3e73f6a
Update app.py
Browse files
app.py
CHANGED
@@ -96,7 +96,7 @@ def submit_message(prompt, prompt_template, temperature, max_tokens, context_len
|
|
96 |
|
97 |
prompt_template = prompt_templates[prompt_template]
|
98 |
|
99 |
-
with open(prompts_archive.csv, "a") as csvfile:
|
100 |
writer = csv.DictWriter(csvfile, fieldnames=["prompt", "time"])
|
101 |
writer.writerow(
|
102 |
{"prompt": str(prompt), "time": str(datetime.now())}
|
|
|
96 |
|
97 |
prompt_template = prompt_templates[prompt_template]
|
98 |
|
99 |
+
with open("prompts_archive.csv", "a") as csvfile:
|
100 |
writer = csv.DictWriter(csvfile, fieldnames=["prompt", "time"])
|
101 |
writer.writerow(
|
102 |
{"prompt": str(prompt), "time": str(datetime.now())}
|