DavidD003 commited on
Commit
db3e9be
·
1 Parent(s): 6d4f707

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -4
app.py CHANGED
@@ -11,13 +11,27 @@ with gr.Blocks() as demo:
11
  A_fl_VT=gr.File(label="Visual Template File")
12
  with gr.Column():
13
  A_fl_PT=gr.File(label="Primed Template File")
14
- A_fl_PTtimestamp=gr.Textbox(placeholder="What is your name?2")
15
  A_bt_PT = gr.Button("Prime Visual Template")
16
  with gr.Tab("B - Scheduler"):
17
- gr.Markdown("Start typing below and then click **Run** to see the output.2")
18
  with gr.Row():
19
- inp2 = gr.Textbox(placeholder="What is your name?2")
20
- out2 = gr.Textbox()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
 
22
  with gr.Tab("C - Review"):
23
  gr.Markdown("Start typing below and then click **Run** to see the output.2")
 
11
  A_fl_VT=gr.File(label="Visual Template File")
12
  with gr.Column():
13
  A_fl_PT=gr.File(label="Primed Template File")
14
+ A_tx_PTtimestamp=gr.Textbox(label="File Change Timestamp",placeholder="Waiting for file")
15
  A_bt_PT = gr.Button("Prime Visual Template")
16
  with gr.Tab("B - Scheduler"):
17
+ gr.Markdown("On this tab the inputs are used to generate a weekend schedule. The Template and refusal sheet files are carried over when generated using tab A. The schedule is considered 'primed' when the tables on the secondary sheets match what is indicated on the visual template. The other inputs on this sheet should be selected per the circumstances. For example. If Friday is part of the weekend to be scheduled, Select '32 hrs', 'Friday', and 'yes to WWF scheduling'. Normal non long weekend will not assign WWF ad hoc, and be 40 hour weeks without Friday or Monday to be scheduled.")
18
  with gr.Row():
19
+ B_fl_FTref=gr.File(label="Full Time Refusals Sheet")
20
+ B_fl_Tref=gr.File(label="Temp Refusal Sheet")
21
+ with gr.Row():
22
+ with gr.Column():
23
+ B_fl_PT=gr.File(label="Primed Template File")
24
+ B_tx_PTtimestamp=gr.Textbox(label="File Change Timestamp",placeholder="Waiting for file")
25
+ with gr.Column():
26
+ with gr.Row():
27
+ gr.Radio(["Yes", "No"],label="Assign OT to WWF? (If 'yes', WWF will be considered for filling in slots beyond their prescribed shifts in the Assignment List")
28
+ gr.Radio(["Bud","Blue"],label="Which crew is on A shift this week?")
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")