Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ with gr.Blocks() as demo:
|
|
45 |
A_tx_PTtimestamp=gr.Textbox(label="File Change Timestamp - Primed Template",placeholder="Waiting for file")
|
46 |
A_bt_PT = gr.Button("Prime Visual Template")
|
47 |
with gr.Tab("B - Scheduler"):
|
48 |
-
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.")
|
49 |
with gr.Row():
|
50 |
B_fl_FTref=gr.File(label="Full Time Refusals Sheet")
|
51 |
B_fl_Tref=gr.File(label="Temp Refusal Sheet")
|
@@ -67,14 +67,17 @@ with gr.Blocks() as demo:
|
|
67 |
B_fl_FS=gr.File(label="Generated Schedule")
|
68 |
B_tx_FTtimestamp=gr.Textbox(label="File Change Timestamp - Completed Schedule",placeholder="Waiting for first run")
|
69 |
with gr.Tab("C - Review"):
|
70 |
-
gr.
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
|
|
|
|
|
|
78 |
|
79 |
#######################
|
80 |
#Third Define the Interactions
|
|
|
45 |
A_tx_PTtimestamp=gr.Textbox(label="File Change Timestamp - Primed Template",placeholder="Waiting for file")
|
46 |
A_bt_PT = gr.Button("Prime Visual Template")
|
47 |
with gr.Tab("B - Scheduler"):
|
48 |
+
gr.Markdown("On this tab the inputs are used to generate a weekend schedule. The Template and refusal sheet files are carried over (with slightly garbled names) 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.")
|
49 |
with gr.Row():
|
50 |
B_fl_FTref=gr.File(label="Full Time Refusals Sheet")
|
51 |
B_fl_Tref=gr.File(label="Temp Refusal Sheet")
|
|
|
67 |
B_fl_FS=gr.File(label="Generated Schedule")
|
68 |
B_tx_FTtimestamp=gr.Textbox(label="File Change Timestamp - Completed Schedule",placeholder="Waiting for first run")
|
69 |
with gr.Tab("C - Review"):
|
70 |
+
with gr.Tab("Inspect Template"):
|
71 |
+
gr.Markdown("On this tab you can have the program generate a schedule using only the template file so as to confirm the template was entered correctly for program interpretation")
|
72 |
+
with gr.Tab("Force Stop Mid-Scheduling"):
|
73 |
+
gr.Markdown("On this tab you can observe what a schedule looked like after making a specific number of assignments. Iteration number can be retrieved from top of verbose assignment list tab of a generated schedule.")
|
74 |
+
with gr.Row():
|
75 |
+
with gr.Column():
|
76 |
+
C_tx_FS = gr.Textbox(label="Time Of Full Schedule Generation",placeholder="N/A")
|
77 |
+
C_nm_PS = gr.Number(label="Limit Number for Total Assignments")
|
78 |
+
with gr.Column():
|
79 |
+
C_fl_PS=gr.File(label="Partially Complete Schedule")
|
80 |
+
C_bt_PS = gr.Button("Partially Generate Schedule")
|
81 |
|
82 |
#######################
|
83 |
#Third Define the Interactions
|