Spaces:
Sleeping
Sleeping
File size: 384 Bytes
fa16baf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import streamlit as st
import time
def main():
st.title("Streamlit Example")
st.write("Waiting for 5 seconds...")
time.sleep(5)
st.write("Completed!")
uploaded_file = st.file_uploader("Upload a file :)")
if uploaded_file is not None:
content = uploaded_file.read().decode("utf-8")
st.markdown(content)
if __name__ == "__main__":
main() |