psyche commited on
Commit
3b16adf
·
verified ·
1 Parent(s): 21ddc42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ scheduler = CommitScheduler(
32
  def save_json(question: str, answer: str) -> None:
33
  with scheduler.lock:
34
  with JSON_DATASET_PATH.open("a") as f:
35
- json.dump({"question": question, "answer": answer, "datetime": datetime.now().isoformat()}, f, ensure_ascii=False)
36
  f.write("\n")
37
 
38
 
 
32
  def save_json(question: str, answer: str) -> None:
33
  with scheduler.lock:
34
  with JSON_DATASET_PATH.open("a") as f:
35
+ json.dump({"question": question, "answer": answer, "datetime": datetime.now().isoformat(), "label":""}, f, ensure_ascii=False)
36
  f.write("\n")
37
 
38