awacke1 commited on
Commit
fdf1635
1 Parent(s): cf6c151

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def AIMemory(title: str, story: str):
31
  if title and story:
32
  with open(DATA_FILE, "a") as csvfile:
33
  writer = csv.DictWriter(csvfile, fieldnames=["title", "story", "time"])
34
- writer.writerow({"title": name, "story": message, "time": str(datetime.now())})
35
  commit_url = repo.push_to_hub()
36
  return ""
37
 
 
31
  if title and story:
32
  with open(DATA_FILE, "a") as csvfile:
33
  writer = csv.DictWriter(csvfile, fieldnames=["title", "story", "time"])
34
+ writer.writerow({"title": title, "story": story, "time": str(datetime.now())})
35
  commit_url = repo.push_to_hub()
36
  return ""
37