DavidD003 commited on
Commit
a2375a3
·
1 Parent(s): 9a3cbe3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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
- with gr.Row():
26
- B_fl_PT=gr.File(label="Primed Template File")
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
- A_bt_PT = gr.Button("Generate Schedule")
 
36
  with gr.Tab("C - Review"):
37
- gr.Markdown("Start typing below and then click **Run** to see the output.2")
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()