sebastian108 commited on
Commit
fa16baf
·
1 Parent(s): 9c51fca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -1
app.py CHANGED
@@ -1 +1,18 @@
1
- print("Testing")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import time
3
+
4
+ def main():
5
+ st.title("Streamlit Example")
6
+
7
+ st.write("Waiting for 5 seconds...")
8
+ time.sleep(5)
9
+ st.write("Completed!")
10
+
11
+ uploaded_file = st.file_uploader("Upload a file :)")
12
+
13
+ if uploaded_file is not None:
14
+ content = uploaded_file.read().decode("utf-8")
15
+ st.markdown(content)
16
+
17
+ if __name__ == "__main__":
18
+ main()