Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def predict_4(pH: float, EC: float, CCE: float, SOC: float, Sa: float, Si: float
|
|
48 |
with gr.Blocks() as demo:
|
49 |
gr.Markdown("# Estimaci贸n de la densidad aparente del suelo")
|
50 |
with gr.Row():
|
51 |
-
with gr.Column(scale=
|
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)**")
|
@@ -58,7 +58,7 @@ with gr.Blocks() as demo:
|
|
58 |
gr.Markdown("**C.E. (1:1 dS/m)**")
|
59 |
EC = gr.Number(label="", value=0.31, interactive=True)
|
60 |
|
61 |
-
with gr.Column(scale=
|
62 |
gr.Markdown("**Arcilla (%)**")
|
63 |
Cy = gr.Number(label="", value=31.0, interactive=True)
|
64 |
gr.Markdown("**Na<sup>+</sup> (meq/100g)**")
|
@@ -67,7 +67,7 @@ with gr.Blocks() as demo:
|
|
67 |
CCE = gr.Number(label="", value=0.20, interactive=True)
|
68 |
|
69 |
|
70 |
-
with gr.Column(scale=
|
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)**")
|
@@ -75,7 +75,7 @@ with gr.Blocks() as demo:
|
|
75 |
gr.Markdown("**Limo (%)**")
|
76 |
Si = gr.Number(label="", value=24.0, interactive=True)
|
77 |
|
78 |
-
with gr.Column(scale=
|
79 |
gr.Markdown("**Mg<sup>2+</sup> (meq/100g)**")
|
80 |
eMg = gr.Number(label="", value=3.47, interactive=True)
|
81 |
gr.Markdown("**Arena (%)**")
|
|
|
48 |
with gr.Blocks() as demo:
|
49 |
gr.Markdown("# Estimaci贸n de la densidad aparente del suelo")
|
50 |
with gr.Row():
|
51 |
+
with gr.Column(scale=0, min_width=200):
|
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)**")
|
|
|
58 |
gr.Markdown("**C.E. (1:1 dS/m)**")
|
59 |
EC = gr.Number(label="", value=0.31, interactive=True)
|
60 |
|
61 |
+
with gr.Column(scale=0, min_width=200):
|
62 |
gr.Markdown("**Arcilla (%)**")
|
63 |
Cy = gr.Number(label="", value=31.0, interactive=True)
|
64 |
gr.Markdown("**Na<sup>+</sup> (meq/100g)**")
|
|
|
67 |
CCE = gr.Number(label="", value=0.20, interactive=True)
|
68 |
|
69 |
|
70 |
+
with gr.Column(scale=0, min_width=200):
|
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)**")
|
|
|
75 |
gr.Markdown("**Limo (%)**")
|
76 |
Si = gr.Number(label="", value=24.0, interactive=True)
|
77 |
|
78 |
+
with gr.Column(scale=0, min_width=200):
|
79 |
gr.Markdown("**Mg<sup>2+</sup> (meq/100g)**")
|
80 |
eMg = gr.Number(label="", value=3.47, interactive=True)
|
81 |
gr.Markdown("**Arena (%)**")
|