ryanrwatkins commited on
Commit
b8572b9
·
1 Parent(s): 2808041

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -96,11 +96,11 @@ def submit_message(prompt, prompt_template, temperature, max_tokens, context_len
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())}
103
- # )
104
 
105
 
106
  system_prompt = []
 
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())}
103
+ )
104
 
105
 
106
  system_prompt = []