Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,12 +10,12 @@ client = MongoClient(uri, tlsCertificateKeyFile= "files/cert.pem")
|
|
| 10 |
db = client["Cosmo"]
|
| 11 |
col = db["Tasks"]
|
| 12 |
|
| 13 |
-
def notifier():
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
)
|
| 20 |
|
| 21 |
|
|
@@ -32,7 +32,7 @@ if st.button("Create Task"):
|
|
| 32 |
st.balloons()
|
| 33 |
|
| 34 |
|
| 35 |
-
if st.button("notify"):
|
| 36 |
-
|
| 37 |
|
| 38 |
|
|
|
|
| 10 |
db = client["Cosmo"]
|
| 11 |
col = db["Tasks"]
|
| 12 |
|
| 13 |
+
# def notifier():
|
| 14 |
+
# nt.notify(
|
| 15 |
+
# title = "This is notification",
|
| 16 |
+
# message = "This is the message",
|
| 17 |
+
# timeout = 10,
|
| 18 |
+
# app_icon = "logo.png"
|
| 19 |
)
|
| 20 |
|
| 21 |
|
|
|
|
| 32 |
st.balloons()
|
| 33 |
|
| 34 |
|
| 35 |
+
# if st.button("notify"):
|
| 36 |
+
# notifier()
|
| 37 |
|
| 38 |
|