Update app.py
Browse files
app.py
CHANGED
@@ -49,40 +49,39 @@ with gr.Blocks() as demo:
|
|
49 |
gr.Markdown("# Estimaci贸n de la densidad aparente del suelo")
|
50 |
with gr.Row():
|
51 |
with gr.Column():
|
|
|
|
|
|
|
|
|
52 |
gr.Markdown("**pH (1:1) en H<sub>2</sub>O**")
|
53 |
pH = gr.Number(label="", value=7.09, interactive=True)
|
54 |
gr.Markdown("**C.E. (1:1 dS/m)**")
|
55 |
EC = gr.Number(label="", value=0.31, interactive=True)
|
56 |
-
gr.Markdown("**CaCO<sub>2</sub> (%)**")
|
57 |
-
CCE = gr.Number(label="CaCO3 (%)", value=0.20, interactive=True)
|
58 |
-
gr.Markdown("**M.O. (%)**")
|
59 |
-
SOC = gr.Number(label="", value=2.9408, interactive=True, elem_classes="bold-label")
|
60 |
|
61 |
with gr.Column():
|
62 |
gr.Markdown("**Arcilla (%)**")
|
63 |
Cy = gr.Number(label="", value=31.0, interactive=True)
|
64 |
-
gr.Markdown("**
|
65 |
-
|
66 |
-
gr.Markdown("**
|
67 |
-
|
68 |
-
|
69 |
-
CEC = gr.Number(label="", value=23.52, interactive=True)
|
70 |
|
71 |
with gr.Column():
|
72 |
gr.Markdown("**Ca<sup>2+</sup> (meq/100g)**")
|
73 |
eCa = gr.Number(label="", value=19.44, interactive=True)
|
74 |
-
gr.Markdown("**Mg<sup>2+</sup> (meq/100g)**")
|
75 |
-
eMg = gr.Number(label="", value=3.47, interactive=True)
|
76 |
-
gr.Markdown("**Textura**")
|
77 |
-
Txt = gr.Textbox(label="", lines=1, placeholder="Ingresa cualquier texto aqu铆")
|
78 |
-
|
79 |
-
with gr.Column():
|
80 |
-
gr.Markdown("**K<sup>+</sup> (meq/100g)**")
|
81 |
-
eK = gr.Number(label="", value=0.47, interactive=True)
|
82 |
-
gr.Markdown("**Na<sup>+</sup> (meq/100g)**")
|
83 |
-
eNa = gr.Number(label="", value=0.15, interactive=True)
|
84 |
gr.Markdown("**Al<sup>3+</sup> + H<sup>+</sup> (meq/100g)**")
|
85 |
eAlH = gr.Number(label="", value=0.0, interactive=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
|
87 |
with gr.Row():
|
88 |
with gr.Column():
|
|
|
49 |
gr.Markdown("# Estimaci贸n de la densidad aparente del suelo")
|
50 |
with gr.Row():
|
51 |
with gr.Column():
|
52 |
+
gr.Markdown("**M.O. (%)**")
|
53 |
+
SOC = gr.Number(label="", value=2.9408, interactive=True, elem_classes="bold-label")
|
54 |
+
gr.Markdown("**K<sup>+</sup> (meq/100g)**")
|
55 |
+
eK = gr.Number(label="", value=0.47, interactive=True)
|
56 |
gr.Markdown("**pH (1:1) en H<sub>2</sub>O**")
|
57 |
pH = gr.Number(label="", value=7.09, interactive=True)
|
58 |
gr.Markdown("**C.E. (1:1 dS/m)**")
|
59 |
EC = gr.Number(label="", value=0.31, interactive=True)
|
|
|
|
|
|
|
|
|
60 |
|
61 |
with gr.Column():
|
62 |
gr.Markdown("**Arcilla (%)**")
|
63 |
Cy = gr.Number(label="", value=31.0, interactive=True)
|
64 |
+
gr.Markdown("**Na<sup>+</sup> (meq/100g)**")
|
65 |
+
eNa = gr.Number(label="", value=0.15, interactive=True)
|
66 |
+
gr.Markdown("**CaCO<sub>2</sub> (%)**")
|
67 |
+
CCE = gr.Number(label="CaCO3 (%)", value=0.20, interactive=True)
|
68 |
+
|
|
|
69 |
|
70 |
with gr.Column():
|
71 |
gr.Markdown("**Ca<sup>2+</sup> (meq/100g)**")
|
72 |
eCa = gr.Number(label="", value=19.44, interactive=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
gr.Markdown("**Al<sup>3+</sup> + H<sup>+</sup> (meq/100g)**")
|
74 |
eAlH = gr.Number(label="", value=0.0, interactive=True)
|
75 |
+
gr.Markdown("**Limo (%)**")
|
76 |
+
Si = gr.Number(label="", value=24.0, interactive=True)
|
77 |
+
|
78 |
+
with gr.Column():
|
79 |
+
gr.Markdown("**Mg<sup>2+</sup> (meq/100g)**")
|
80 |
+
eMg = gr.Number(label="", value=3.47, interactive=True)
|
81 |
+
gr.Markdown("**Arena (%)**")
|
82 |
+
Sa = gr.Number(label="", value=45.0, interactive=True)
|
83 |
+
gr.Markdown("**CIC (meq/100g)**")
|
84 |
+
CEC = gr.Number(label="", value=23.52, interactive=True)
|
85 |
|
86 |
with gr.Row():
|
87 |
with gr.Column():
|