DeepLearning101 commited on
Commit
b9803e6
·
verified ·
1 Parent(s): 9046eac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -418,6 +418,7 @@ with gr.Blocks(title="Cié Cié Admin", css=custom_css, theme=gr.themes.Monochro
418
  update_status_btn = gr.Button("💾 變更狀態", variant="secondary", scale=1)
419
  check_lp_btn = gr.Button("🔍 查 LINE Pay", variant="secondary", scale=1)
420
  noshow_btn = gr.Button("🚫 標記 No-Show", variant="stop", scale=1)
 
421
  refresh_btn = gr.Button("🔄 刷新列表", scale=1)
422
 
423
  log_output = gr.Textbox(label="執行結果日誌", lines=1)
@@ -522,4 +523,5 @@ with gr.Blocks(title="Cié Cié Admin", css=custom_css, theme=gr.themes.Monochro
522
  )
523
 
524
  if __name__ == "__main__":
 
525
  demo.launch()
 
418
  update_status_btn = gr.Button("💾 變更狀態", variant="secondary", scale=1)
419
  check_lp_btn = gr.Button("🔍 查 LINE Pay", variant="secondary", scale=1)
420
  noshow_btn = gr.Button("🚫 標記 No-Show", variant="stop", scale=1)
421
+ revert_noshow_btn = gr.Button("✅ 撤銷 No-Show", scale=1) # 👈 補回這個遺失的按鈕!
422
  refresh_btn = gr.Button("🔄 刷新列表", scale=1)
423
 
424
  log_output = gr.Textbox(label="執行結果日誌", lines=1)
 
523
  )
524
 
525
  if __name__ == "__main__":
526
+ # 將 css 與 theme 設定保留在此以確保相容性,Gradio 的 UserWarning 不會影響系統執行
527
  demo.launch()