Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,16 +16,14 @@ with gr.Blocks() as demo:
|
|
16 |
A_tx_PTtimestamp=gr.Textbox(label="File Change Timestamp",placeholder="Waiting for file")
|
17 |
A_bt_PT = gr.Button("Prime Visual Template")
|
18 |
with gr.Tab("B - Scheduler"):
|
19 |
-
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
|
20 |
with gr.Row():
|
21 |
B_fl_FTref=gr.File(label="Full Time Refusals Sheet")
|
22 |
B_fl_Tref=gr.File(label="Temp Refusal Sheet")
|
23 |
with gr.Row():
|
24 |
with gr.Column():
|
25 |
-
|
26 |
-
|
27 |
-
with gr.Row():
|
28 |
-
B_tx_PTtimestamp=gr.Textbox(label="File Change Timestamp",placeholder="Waiting for file")
|
29 |
with gr.Column():
|
30 |
with gr.Row():
|
31 |
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)")
|
|
|
16 |
A_tx_PTtimestamp=gr.Textbox(label="File Change Timestamp",placeholder="Waiting for file")
|
17 |
A_bt_PT = gr.Button("Prime Visual Template")
|
18 |
with gr.Tab("B - Scheduler"):
|
19 |
+
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 OT to WWF, and be 40 hour weeks without Friday or Monday to be scheduled.")
|
20 |
with gr.Row():
|
21 |
B_fl_FTref=gr.File(label="Full Time Refusals Sheet")
|
22 |
B_fl_Tref=gr.File(label="Temp Refusal Sheet")
|
23 |
with gr.Row():
|
24 |
with gr.Column():
|
25 |
+
B_fl_PT=gr.File(label="Primed Template File")
|
26 |
+
B_tx_PTtimestamp=gr.Textbox(label="File Change Timestamp",placeholder="Waiting for file")
|
|
|
|
|
27 |
with gr.Column():
|
28 |
with gr.Row():
|
29 |
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)")
|