Spaces:
Runtime error
Runtime error
hedtorresca
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -38,17 +38,17 @@ def main(A, B, C, AB, AC, BC, ABC):
|
|
38 |
iface = gr.Interface(
|
39 |
fn=main,
|
40 |
inputs=[
|
41 |
-
gr.
|
42 |
-
gr.
|
43 |
-
gr.
|
44 |
-
gr.
|
45 |
-
gr.
|
46 |
-
gr.
|
47 |
-
gr.
|
48 |
],
|
49 |
outputs=[
|
50 |
-
gr.
|
51 |
-
gr.
|
52 |
]
|
53 |
)
|
54 |
|
|
|
38 |
iface = gr.Interface(
|
39 |
fn=main,
|
40 |
inputs=[
|
41 |
+
gr.Number(label="Cantidad en A"),
|
42 |
+
gr.Number(label="Cantidad en B"),
|
43 |
+
gr.Number(label="Cantidad en C"),
|
44 |
+
gr.Number(label="Cantidad en A ∩ B"),
|
45 |
+
gr.Number(label="Cantidad en A ∩ C"),
|
46 |
+
gr.Number(label="Cantidad en B ∩ C"),
|
47 |
+
gr.Number(label="Cantidad en A ∩ B ∩ C")
|
48 |
],
|
49 |
outputs=[
|
50 |
+
gr.Plot(label="Diagrama de Venn"),
|
51 |
+
gr.JSON(label="Probabilidades Calculadas")
|
52 |
]
|
53 |
)
|
54 |
|