Spaces:
Sleeping
Sleeping
File size: 207 Bytes
ef3d923 |
1 2 3 4 5 6 7 8 9 10 11 |
import streamlit as st
import time
st.set_page_config()
ph = st.empty()
N = 5*60
for secs in range(N,0,-1):
mm, ss = secs//60, secs%60
ph.metric("Countdown", f"{mm:02d}:{ss:02d}")
time.sleep(1) |