Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ import matplotlib.gridspec as gridspec
|
|
13 |
import math
|
14 |
|
15 |
# --- 常量定义 ---
|
16 |
-
SPLIT_TIME = "17:
|
17 |
BUSINESS_START = "09:30"
|
18 |
BUSINESS_END = "01:30"
|
19 |
BORDER_COLOR = 'grey'
|
@@ -370,7 +370,7 @@ if uploaded_file:
|
|
370 |
part2_output = create_print_layout_times(part2, "C", date_str)
|
371 |
col1, col2 = st.columns(2)
|
372 |
with col1:
|
373 |
-
st.subheader("白班 (散场时间 ≤ 17:
|
374 |
if part1_output:
|
375 |
tab1_1, tab1_2 = st.tabs(["PDF 预览 ", "图片预览 (PNG) "])
|
376 |
with tab1_1:
|
@@ -380,7 +380,7 @@ if uploaded_file:
|
|
380 |
else:
|
381 |
st.info("白班没有排期数据。")
|
382 |
with col2:
|
383 |
-
st.subheader("晚班 (散场时间 > 17:
|
384 |
if part2_output:
|
385 |
tab2_1, tab2_2 = st.tabs(["PDF 预览 ", "图片预览 (PNG) "])
|
386 |
with tab2_1:
|
|
|
13 |
import math
|
14 |
|
15 |
# --- 常量定义 ---
|
16 |
+
SPLIT_TIME = "17:00"
|
17 |
BUSINESS_START = "09:30"
|
18 |
BUSINESS_END = "01:30"
|
19 |
BORDER_COLOR = 'grey'
|
|
|
370 |
part2_output = create_print_layout_times(part2, "C", date_str)
|
371 |
col1, col2 = st.columns(2)
|
372 |
with col1:
|
373 |
+
st.subheader("白班 (散场时间 ≤ 17:00)")
|
374 |
if part1_output:
|
375 |
tab1_1, tab1_2 = st.tabs(["PDF 预览 ", "图片预览 (PNG) "])
|
376 |
with tab1_1:
|
|
|
380 |
else:
|
381 |
st.info("白班没有排期数据。")
|
382 |
with col2:
|
383 |
+
st.subheader("晚班 (散场时间 > 17:00)")
|
384 |
if part2_output:
|
385 |
tab2_1, tab2_2 = st.tabs(["PDF 预览 ", "图片预览 (PNG) "])
|
386 |
with tab2_1:
|