peterpull commited on
Commit
416785b
·
1 Parent(s): 29ff848

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def store_message(name: str, message: str):
61
  with open(DATA_FILE, "a") as csvfile:
62
  writer = csv.DictWriter(csvfile, fieldnames=["User", "Chatbot", "time"])
63
  writer.writerow(
64
- {"User": {input_text}, "Chatbot": {response.response}, "time": str(datetime.now())}
65
  )
66
  commit_url = repo.push_to_hub()
67
  print(commit_url)
 
61
  with open(DATA_FILE, "a") as csvfile:
62
  writer = csv.DictWriter(csvfile, fieldnames=["User", "Chatbot", "time"])
63
  writer.writerow(
64
+ {"User": input_text, "Chatbot": response.response, "time": str(datetime.now())}
65
  )
66
  commit_url = repo.push_to_hub()
67
  print(commit_url)