Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -42,12 +42,17 @@ def pop():
|
|
42 |
return string_rep(pq)
|
43 |
|
44 |
|
|
|
|
|
|
|
|
|
|
|
45 |
iface = gr.Interface(
|
46 |
fn=add_elem,
|
47 |
-
inputs=[
|
48 |
outputs="text",
|
49 |
title="Add Work",
|
50 |
-
description="
|
51 |
)
|
52 |
|
53 |
iface.launch()
|
|
|
42 |
return string_rep(pq)
|
43 |
|
44 |
|
45 |
+
datebox = gr.Textbox(label="Enter your date here:", placeholder="MM-DD-YYYY at HH:MM")
|
46 |
+
|
47 |
+
hwbox = gr.Textbox(label="Enter your assignment name here:", placeholder="Homework")
|
48 |
+
|
49 |
+
|
50 |
iface = gr.Interface(
|
51 |
fn=add_elem,
|
52 |
+
inputs=[datebox, hwbox],
|
53 |
outputs="text",
|
54 |
title="Add Work",
|
55 |
+
description="Homework Prioritzer",
|
56 |
)
|
57 |
|
58 |
iface.launch()
|