Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import time
|
| 2 |
+
import streamlit as st
|
| 3 |
+
|
| 4 |
+
with st.status("Downloading data...", expanded=True) as status:
|
| 5 |
+
st.write("Searching for data...")
|
| 6 |
+
time.sleep(2)
|
| 7 |
+
st.write("Found URL.")
|
| 8 |
+
time.sleep(1)
|
| 9 |
+
st.write("Downloading data...")
|
| 10 |
+
time.sleep(1)
|
| 11 |
+
status.update(label="Download complete!", state="complete", expanded=False)
|
| 12 |
+
|
| 13 |
+
st.button('Rerun')
|