Created
July 6, 2020 10:33
-
-
Save danlester/82be89feec45c09ac1ccf401e915b1b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import streamlit as st | |
from datetime import datetime | |
start_time = datetime.now() | |
st.write(start_time) | |
count = 0 | |
if st.button('Increment'): | |
count += 1 | |
st.write('Clicked! Start Time {}; Count {}'.format(start_time, count)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment