Spaces:
Runtime error
Runtime error
Update app.py
Browse fileselse if not uploaded.
app.py
CHANGED
@@ -45,7 +45,9 @@ if uploaded_file is not None:
|
|
45 |
|
46 |
# Show the contents of the CSV file in the main area
|
47 |
st.write(df)
|
48 |
-
|
|
|
|
|
49 |
|
50 |
|
51 |
|
|
|
45 |
|
46 |
# Show the contents of the CSV file in the main area
|
47 |
st.write(df)
|
48 |
+
else:
|
49 |
+
# Hide everything else until a file is uploaded
|
50 |
+
st.warning('Upload a CSV file to get started.')
|
51 |
|
52 |
|
53 |
|