Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -90,23 +90,23 @@ with gr.Blocks() as demo:
|
|
90 |
B_bt_MS = gr.Button("Generate Schedule")
|
91 |
B_fl_FS=gr.File(label="Generated Schedule")
|
92 |
B_tx_FTtimestamp=gr.Textbox(label="File Change Timestamp - Completed Schedule",placeholder="Waiting for first run")
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
|
111 |
#######################
|
112 |
#Third Define the Interactions
|
|
|
90 |
B_bt_MS = gr.Button("Generate Schedule")
|
91 |
B_fl_FS=gr.File(label="Generated Schedule")
|
92 |
B_tx_FTtimestamp=gr.Textbox(label="File Change Timestamp - Completed Schedule",placeholder="Waiting for first run")
|
93 |
+
with gr.Tab("C - Review"):
|
94 |
+
with gr.Tab("Inspect Template"):
|
95 |
+
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. This process builds the template using all inputs present in tab B. Inputs are required for building the template.")
|
96 |
+
C_bt_MT = gr.Button("Generate Template")
|
97 |
+
C_fl_T=gr.File(label="Generated Template")
|
98 |
+
C_tx_Ttimestamp=gr.Textbox(label="File Change Timestamp - Generated Template",placeholder="Waiting for first run.")
|
99 |
+
with gr.Tab("Force Stop Mid-Scheduling"):
|
100 |
+
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 the bottom of the verbose assignment list tab of a generated schedule. If the specified iteration and assignment number combination are not encountered, this function will simply re generate the entire schedule. This function only quits schedule building after the template. An assignment number within the template building portion will not be quit on, and it will proceed to build full schedule.")
|
101 |
+
with gr.Row():
|
102 |
+
with gr.Column():
|
103 |
+
with gr.Row():
|
104 |
+
C_nm_PS = gr.Number(label="Limit Number for Total Assignments")
|
105 |
+
C_nm_IN = gr.Number(label="Iteration Number To Stop On")
|
106 |
+
with gr.Column():
|
107 |
+
C_fl_PS=gr.File(label="Partially Complete Schedule")
|
108 |
+
C_tx_ts2 = gr.Textbox(label="Time Of Partial Schedule Generation",placeholder="N/A")
|
109 |
+
C_bt_PS = gr.Button("Partially Generate Schedule")
|
110 |
|
111 |
#######################
|
112 |
#Third Define the Interactions
|