Nikhil0987 commited on
Commit
29616c7
2 Parent(s): e3e120b 690b611

Merge branch 'main' of https://huggingface.co/spaces/Nikhil0987/omm

Browse files
Files changed (2) hide show
  1. remainder.py +7 -6
  2. requirements.txt +3 -1
remainder.py CHANGED
@@ -3,11 +3,11 @@ import json
3
  import uuid
4
 
5
 
6
- st.title("Reminders")
7
- st.subheader("Enter reminder details:")
8
-
9
- remid =str(uuid.uuid4())
10
  def rem():
 
 
 
 
11
  remsg =st.text_input("Enter Reminder Message:")
12
 
13
  remtime = str(st.time_input("Enter Reminder Time:"))
@@ -30,8 +30,8 @@ def rem():
30
  def save_data():
31
  with open ("database/data.json")as file:
32
  data =json.load(file)
33
- allreminder = data["reminders"]
34
- allreminder.append(reminder)
35
 
36
  <<<<<<< HEAD
37
  =======
@@ -49,3 +49,4 @@ def save_data():
49
 
50
  st.button("Save",on_click=save_data)
51
 
 
 
3
  import uuid
4
 
5
 
 
 
 
 
6
  def rem():
7
+ st.title("Reminders")
8
+ st.subheader("Enter reminder details:")
9
+
10
+ remid =str(uuid.uuid4())
11
  remsg =st.text_input("Enter Reminder Message:")
12
 
13
  remtime = str(st.time_input("Enter Reminder Time:"))
 
30
  def save_data():
31
  with open ("database/data.json")as file:
32
  data =json.load(file)
33
+ allnewreminder = data["reminders"]
34
+ allnewreminder.append(reminder)
35
 
36
  <<<<<<< HEAD
37
  =======
 
49
 
50
  st.button("Save",on_click=save_data)
51
 
52
+
requirements.txt CHANGED
@@ -2,4 +2,6 @@ streamlit
2
  streamlit-option-menu
3
  transformers
4
  dnspython
5
- torch
 
 
 
2
  streamlit-option-menu
3
  transformers
4
  dnspython
5
+ torch
6
+ pymongo
7
+ hugchat