Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,8 @@ def AIMemory(title: str, story: str):
|
|
| 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 |
-
|
|
|
|
| 36 |
return ""
|
| 37 |
|
| 38 |
|
|
|
|
| 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 |
+
# uncomment line below to begin saving your changes
|
| 36 |
+
#commit_url = repo.push_to_hub()
|
| 37 |
return ""
|
| 38 |
|
| 39 |
|