Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,9 +22,8 @@ with gr.Blocks() as demo:
|
|
22 |
B_fl_Tref=gr.File(label="Temp Refusal Sheet")
|
23 |
with gr.Row():
|
24 |
with gr.Column():
|
25 |
-
|
26 |
-
|
27 |
-
B_tx_PTtimestamp=gr.Textbox(label="File Change Timestamp",placeholder="Waiting for file")
|
28 |
with gr.Column():
|
29 |
with gr.Row():
|
30 |
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)")
|
@@ -32,9 +31,10 @@ with gr.Blocks() as demo:
|
|
32 |
with gr.Row():
|
33 |
gr.Radio([32, 40],label="Regular Work Hours This Week?")
|
34 |
gr.CheckboxGroup(["Friday", "Monday"], label="Check the boxes as appropriate if scheduling long weekend")
|
35 |
-
|
|
|
36 |
with gr.Tab("C - Review"):
|
37 |
-
gr.Markdown("
|
38 |
with gr.Row():
|
39 |
inp2 = gr.Textbox(placeholder="What is your name?2")
|
40 |
out2 = gr.Textbox()
|
|
|
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)")
|
|
|
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 |
+
B_bt_MS = gr.Button("Generate Schedule")
|
35 |
+
B_fl_FS=gr.File(label="Generated Schedule")
|
36 |
with gr.Tab("C - Review"):
|
37 |
+
gr.Markdown("On this tab you can observe the template used to make the current schedule by entering '0' for number of assignments. Positive values will yield the schedule in progress, stopped after making that many assignments.")
|
38 |
with gr.Row():
|
39 |
inp2 = gr.Textbox(placeholder="What is your name?2")
|
40 |
out2 = gr.Textbox()
|