Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -7,13 +7,13 @@ import google.generativeai as genai
|
|
7 |
|
8 |
|
9 |
|
10 |
-
def add_to_json(new_goal
|
11 |
with open("test.json", "r") as file:
|
12 |
data = json.load(file)
|
13 |
|
14 |
new_item = {
|
15 |
"goal": new_goal,
|
16 |
-
"reminder": new_reminder
|
17 |
}
|
18 |
data["goals"].append(new_item)
|
19 |
|
|
|
7 |
|
8 |
|
9 |
|
10 |
+
def add_to_json(new_goal):
|
11 |
with open("test.json", "r") as file:
|
12 |
data = json.load(file)
|
13 |
|
14 |
new_item = {
|
15 |
"goal": new_goal,
|
16 |
+
# "reminder": new_reminder
|
17 |
}
|
18 |
data["goals"].append(new_item)
|
19 |
|