Spaces:
Runtime error
Runtime error
ryanrwatkins
commited on
Commit
Β·
5d114b6
1
Parent(s):
0039926
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 |
|
98 |
|
99 |
-
with open(
|
100 |
writer = csv.DictWriter(csvfile, fieldnames=["prompt", "time"])
|
101 |
writer.writerow(
|
102 |
{"prompt": str(prompt), "time": str(datetime.now())}
|
|
|
96 |
|
97 |
|
98 |
|
99 |
+
with open(prompts_archive_file, "a") as csvfile:
|
100 |
writer = csv.DictWriter(csvfile, fieldnames=["prompt", "time"])
|
101 |
writer.writerow(
|
102 |
{"prompt": str(prompt), "time": str(datetime.now())}
|