Vish2005 commited on
Commit
ef85d88
·
1 Parent(s): a1ecdea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
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=["text", "text"],
48
  outputs="text",
49
  title="Add Work",
50
- description="Enter Date in 'MM-DD-YYYY at HH:MM' and Name of Assignment",
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()