Vish2005 commited on
Commit
d70b6d1
·
1 Parent(s): a6e1c98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ from queue import PriorityQueue
4
 
5
  from datetime import datetime
6
 
7
- pq = PriorityQueue(maxsize = None)
8
 
9
  date_format = '%m-%d-%Y at %H:%M'
10
 
@@ -54,7 +54,7 @@ def tester(str1, str2):
54
  return str(cur_date.month)
55
 
56
  iface = gr.Interface(
57
- fn=tester,
58
  inputs=[datebox, hwbox],
59
  outputs="text",
60
  title="Add Work",
 
4
 
5
  from datetime import datetime
6
 
7
+ pq = PriorityQueue()
8
 
9
  date_format = '%m-%d-%Y at %H:%M'
10
 
 
54
  return str(cur_date.month)
55
 
56
  iface = gr.Interface(
57
+ fn=add_elem,
58
  inputs=[datebox, hwbox],
59
  outputs="text",
60
  title="Add Work",