Spaces:
Running
Running
Circhastic
commited on
Commit
•
0ffc81e
1
Parent(s):
18b17ea
First version hotfix #3
Browse files
app.py
CHANGED
@@ -256,9 +256,9 @@ with st.sidebar:
|
|
256 |
date_found = True
|
257 |
if 'Sales' in column:
|
258 |
sales_found = True
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
|
263 |
st.success("File uploaded successfully!")
|
264 |
st.write("Your uploaded data:")
|
|
|
256 |
date_found = True
|
257 |
if 'Sales' in column:
|
258 |
sales_found = True
|
259 |
+
if(date_found == False or sales_found == False):
|
260 |
+
st.error('Please upload a csv containing both Date and Sales...')
|
261 |
+
st.stop()
|
262 |
|
263 |
st.success("File uploaded successfully!")
|
264 |
st.write("Your uploaded data:")
|