omm / remainder.py
Nikhil0987's picture
Update remainder.py
a4c4012
raw
history blame
641 Bytes
import streamlit as st
import json
import uuid
def rem():
st.title("Reminders")
st.subheader("Enter reminder details:")
remid =str(uuid.uuid4())
remsg =st.text_input("Enter Reminder Message:")
remtime = str(st.time_input("Enter Reminder Time:"))
remdate = str(st.date_input("Enter Reminder Date:"))
repeat =st.selectbox(
" would you like to repeat Reminder:",["No","daily","weekly","yearly"]
)
reminder ={
"id": remid,
"message": remsg,
"time": remtime,
"date": remdate,
"repeat": repeat,
"status": False,
}
st.button("Save")