Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -23,9 +23,9 @@ def validate_inputs(A, B, C, AB, AC, BC, ABC, U):
|
|
23 |
def suggest_intersections(A, B, C, AB, AC, BC, ABC, U):
|
24 |
union_ABC = A + B + C - AB - AC - BC + ABC
|
25 |
|
26 |
-
max_AB = min(A, B)
|
27 |
-
max_AC = min(A, C)
|
28 |
-
max_BC = min(B, C)
|
29 |
max_ABC = min(max_AB, max_AC, max_BC)
|
30 |
|
31 |
suggestions = {
|
|
|
23 |
def suggest_intersections(A, B, C, AB, AC, BC, ABC, U):
|
24 |
union_ABC = A + B + C - AB - AC - BC + ABC
|
25 |
|
26 |
+
max_AB = min(A, B, ABC)
|
27 |
+
max_AC = min(A, C, ABC)
|
28 |
+
max_BC = min(B, C, ABC)
|
29 |
max_ABC = min(max_AB, max_AC, max_BC)
|
30 |
|
31 |
suggestions = {
|