Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -134,7 +134,7 @@ def main(A, B, C, AB, AC, BC, ABC, U):
|
|
| 134 |
errors = validate_inputs(A, B, C, AB, AC, BC, ABC, U)
|
| 135 |
if errors:
|
| 136 |
# Devolver None para la imagen y el DataFrame si hay errores
|
| 137 |
-
return {"Errores de validaci贸n": errors},
|
| 138 |
|
| 139 |
venn_image = draw_venn(A, B, C, AB, AC, BC, ABC, U)
|
| 140 |
probabilities_df = calculate_probabilities(A, B, C, AB, AC, BC, ABC, U)
|
|
|
|
| 134 |
errors = validate_inputs(A, B, C, AB, AC, BC, ABC, U)
|
| 135 |
if errors:
|
| 136 |
# Devolver None para la imagen y el DataFrame si hay errores
|
| 137 |
+
return None, pd.DataFrame({"Errores de validaci贸n": errors}), {}
|
| 138 |
|
| 139 |
venn_image = draw_venn(A, B, C, AB, AC, BC, ABC, U)
|
| 140 |
probabilities_df = calculate_probabilities(A, B, C, AB, AC, BC, ABC, U)
|