Update app.py
Browse files
app.py
CHANGED
@@ -594,7 +594,7 @@ def cargar_excel(file):
|
|
594 |
# Leer el archivo Excel
|
595 |
df = pd.read_excel(file.name, sheet_name=None)
|
596 |
|
597 |
-
# Verificar que el archivo tenga al menos dos pestañas
|
598 |
if len(df) < 2:
|
599 |
return "El archivo debe tener al menos dos pestañas.", None, None, None, None, None, None
|
600 |
|
|
|
594 |
# Leer el archivo Excel
|
595 |
df = pd.read_excel(file.name, sheet_name=None)
|
596 |
|
597 |
+
# Verificar que el archivo tenga al menos dos pestañas
|
598 |
if len(df) < 2:
|
599 |
return "El archivo debe tener al menos dos pestañas.", None, None, None, None, None, None
|
600 |
|