Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -76,18 +76,11 @@ addbox = gr.Textbox(label="Add or Drop?:", placeholder="Add or Drop")
|
|
76 |
|
77 |
ouputbox = gr.Textbox(label="List of Assignments:", placeholder="Homework is due on MM-DD-YYYY at HH:MM", lines = 10)
|
78 |
|
79 |
-
def tester(str1, str2):
|
80 |
-
|
81 |
-
cur_date = datetime.strptime(str1, date_format)
|
82 |
-
|
83 |
-
return str(cur_date.month)
|
84 |
-
|
85 |
iface = gr.Interface(
|
86 |
fn=inputter,
|
87 |
inputs=[datebox, hwbox, addbox],
|
88 |
outputs=ouputbox,
|
89 |
title="Homework Prioritzer",
|
90 |
-
description="Add Work",
|
91 |
)
|
92 |
|
93 |
iface.launch()
|
|
|
76 |
|
77 |
ouputbox = gr.Textbox(label="List of Assignments:", placeholder="Homework is due on MM-DD-YYYY at HH:MM", lines = 10)
|
78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
iface = gr.Interface(
|
80 |
fn=inputter,
|
81 |
inputs=[datebox, hwbox, addbox],
|
82 |
outputs=ouputbox,
|
83 |
title="Homework Prioritzer",
|
|
|
84 |
)
|
85 |
|
86 |
iface.launch()
|