Spaces:
Runtime error
Runtime error
IsaacKerson
commited on
Commit
•
12a18ff
1
Parent(s):
37507f5
fix st.warning error
Browse files- pages/upload.py +1 -1
pages/upload.py
CHANGED
@@ -45,7 +45,7 @@ def app():
|
|
45 |
|
46 |
if st.button("Load Data"):
|
47 |
if not os.path.exists("data.csv"):
|
48 |
-
st.
|
49 |
else:
|
50 |
st.markdown("### Confirm the data is correct.")
|
51 |
num_items = 0
|
|
|
45 |
|
46 |
if st.button("Load Data"):
|
47 |
if not os.path.exists("data.csv"):
|
48 |
+
st.warning("Upload a file to load data.")
|
49 |
else:
|
50 |
st.markdown("### Confirm the data is correct.")
|
51 |
num_items = 0
|