Spaces:
Sleeping
Sleeping
Nikhil0987
commited on
Commit
•
7c99415
1
Parent(s):
d4a7f66
Update remainder.py
Browse files- remainder.py +3 -3
remainder.py
CHANGED
@@ -35,9 +35,9 @@ def save_data():
|
|
35 |
|
36 |
allreminder.append(reminder)
|
37 |
|
38 |
-
|
39 |
-
|
40 |
|
41 |
|
42 |
-
|
43 |
|
|
|
35 |
|
36 |
allreminder.append(reminder)
|
37 |
|
38 |
+
with open("database/data.json","w") as file:
|
39 |
+
json.dump(data,file,indent=4)
|
40 |
|
41 |
|
42 |
+
st.button("Save",on_click=save_data)
|
43 |
|