Spaces:
Runtime error
Runtime error
jcmachicao
commited on
Commit
•
608cb34
1
Parent(s):
7a26948
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import pandas as pd
|
|
4 |
# Load dataframe
|
5 |
file = st.file_uploader('Seleccione un archivo Excel: ')
|
6 |
|
7 |
-
if
|
8 |
# Load the Excel file into a Pandas dataframe
|
9 |
df = pd.read_excel(file, engine='openpyxl', type="xlsx")
|
10 |
# Show the dataframe in Streamlit
|
|
|
4 |
# Load dataframe
|
5 |
file = st.file_uploader('Seleccione un archivo Excel: ')
|
6 |
|
7 |
+
if file is not None:
|
8 |
# Load the Excel file into a Pandas dataframe
|
9 |
df = pd.read_excel(file, engine='openpyxl', type="xlsx")
|
10 |
# Show the dataframe in Streamlit
|