WICKED4950 commited on
Commit
9115b30
·
verified ·
1 Parent(s): 0370488

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -21,7 +21,6 @@ def save_question(question,answer,path = "question_answer.json"):
21
  with open(path, "r") as file:
22
  data = json.load(file)
23
  data["Interactions"].append({"Question:":question,"Answer:":answer,"Time:":datetime.now().strftime("%Y-%m-%d %H:%M:%S")})
24
- print(data)
25
  with open(path, "w") as file:
26
  json.dump(data, file, indent=4)
27
 
 
21
  with open(path, "r") as file:
22
  data = json.load(file)
23
  data["Interactions"].append({"Question:":question,"Answer:":answer,"Time:":datetime.now().strftime("%Y-%m-%d %H:%M:%S")})
 
24
  with open(path, "w") as file:
25
  json.dump(data, file, indent=4)
26