aimaswx commited on
Commit
ea96513
1 Parent(s): dd09918

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ if res:
46
  st.caption('请查收您的排班表') #用于写字幕
47
  st.image(f'timetable_{res}.png') #用于显示图像
48
 
49
- with open("timetable.png", "rb") as file:
50
  btn = st.download_button(
51
  label="下载排班表",
52
  data=file,
 
46
  st.caption('请查收您的排班表') #用于写字幕
47
  st.image(f'timetable_{res}.png') #用于显示图像
48
 
49
+ with open(f"timetable_{res}.png", "rb") as file:
50
  btn = st.download_button(
51
  label="下载排班表",
52
  data=file,