ryanrwatkins commited on
Commit
8d49bec
·
1 Parent(s): bf150e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -96,13 +96,13 @@ 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
- commit_url = repo.push_to_hub()
105
- print(commit_url)
106
 
107
  system_prompt = []
108
  if prompt_template:
 
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
+ # commit_url = repo.push_to_hub()
105
+ # print(commit_url)
106
 
107
  system_prompt = []
108
  if prompt_template: