DavidD003 commited on
Commit
29cfcac
1 Parent(s): db3e9be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,6 +1,8 @@
1
  import gradio as gr
2
  from datetime import datetime
3
 
 
 
4
  with gr.Blocks() as demo:
5
  with gr.Tab("A - Visual Template Builder"):
6
  gr.Markdown("On this tab you can input a purely visual template (assignment tables empty) and have it primed for use in the scheduling algorithm. The info generated here will also be sent as inputs to tab B. See the documentation for more details on required formatting")
@@ -29,9 +31,6 @@ with gr.Blocks() as demo:
29
  with gr.Row():
30
  gr.Radio([32, 40],label="Regular Work Hours This Week?")
31
  gr.CheckboxGroup(["Friday", "Monday"], label="Check the boxes as appropriate if scheduling long weekend")
32
- A_fl_PT=gr.File(label="Primed Template File")
33
- A_fl_PTtimestamp=gr.Textbox(placeholder="What is your name?2")
34
- A_bt_PT = gr.Button("Prime Visual Template")
35
 
36
  with gr.Tab("C - Review"):
37
  gr.Markdown("Start typing below and then click **Run** to see the output.2")
 
1
  import gradio as gr
2
  from datetime import datetime
3
 
4
+ #######################
5
+ #First Defining the Interface
6
  with gr.Blocks() as demo:
7
  with gr.Tab("A - Visual Template Builder"):
8
  gr.Markdown("On this tab you can input a purely visual template (assignment tables empty) and have it primed for use in the scheduling algorithm. The info generated here will also be sent as inputs to tab B. See the documentation for more details on required formatting")
 
31
  with gr.Row():
32
  gr.Radio([32, 40],label="Regular Work Hours This Week?")
33
  gr.CheckboxGroup(["Friday", "Monday"], label="Check the boxes as appropriate if scheduling long weekend")
 
 
 
34
 
35
  with gr.Tab("C - Review"):
36
  gr.Markdown("Start typing below and then click **Run** to see the output.2")