wanwanlin0521 commited on
Commit
2456bcb
·
verified ·
1 Parent(s): b1bba95

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +3 -3
src/streamlit_app.py CHANGED
@@ -126,9 +126,9 @@ if st.button("🔄"):
126
  st.toast("Data is refreshed",icon="✅") # Reload the data
127
 
128
  # 2. Load and early‐exit if missing
129
- df = load_data()
130
- if df.empty:
131
- st.stop()
132
 
133
  # 3. Data preview
134
  st.header("Data Preview")
 
126
  st.toast("Data is refreshed",icon="✅") # Reload the data
127
 
128
  # 2. Load and early‐exit if missing
129
+ df = load_data()
130
+ if df.empty:
131
+ st.stop()
132
 
133
  # 3. Data preview
134
  st.header("Data Preview")