awacke1 commited on
Commit
ef3d923
1 Parent(s): 76a662e

Create new file

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import time
3
+
4
+ st.set_page_config()
5
+
6
+ ph = st.empty()
7
+ N = 5*60
8
+ for secs in range(N,0,-1):
9
+ mm, ss = secs//60, secs%60
10
+ ph.metric("Countdown", f"{mm:02d}:{ss:02d}")
11
+ time.sleep(1)