JirasakJo commited on
Commit
fbd83ed
·
verified ·
1 Parent(s): 96e1e38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -374,20 +374,13 @@ def main():
374
  <span class="status-indicator {}">
375
  {} {}
376
  </span></p>
377
- <p><strong style="color: #000000;">💾 สถานะ GitHub Sync:</strong><br>
378
- <span class="status-indicator {}">
379
- {} {}
380
- </span></p>
381
  </div>
382
  </div>
383
  """.format(
384
  (datetime.now() + timedelta(hours=7)).strftime('%Y-%m-%d %H:%M:%S'),
385
  "status-online" if st.session_state.pipeline else "status-offline",
386
  "🟢" if st.session_state.pipeline else "🔴",
387
- "พร้อมใช้งาน" if st.session_state.pipeline else "ไม่พร้อมใช้งาน",
388
- "status-online" if st.session_state.github_sync_enabled else "status-offline",
389
- "🟢" if st.session_state.github_sync_enabled else "🔴",
390
- "เชื่อมต่อแล้ว" if st.session_state.github_sync_enabled else "ไม่ได้เชื่อมต่อ"
391
  ), unsafe_allow_html=True)
392
 
393
  if __name__ == "__main__":
 
374
  <span class="status-indicator {}">
375
  {} {}
376
  </span></p>
 
 
 
 
377
  </div>
378
  </div>
379
  """.format(
380
  (datetime.now() + timedelta(hours=7)).strftime('%Y-%m-%d %H:%M:%S'),
381
  "status-online" if st.session_state.pipeline else "status-offline",
382
  "🟢" if st.session_state.pipeline else "🔴",
383
+ "พร้อมใช้งาน" if st.session_state.pipeline else "ไม่พร้อมใช้งาน"
 
 
 
384
  ), unsafe_allow_html=True)
385
 
386
  if __name__ == "__main__":