Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,8 @@ with gr.Blocks() as demo:
|
|
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(scale=0, min_width=250):
|
88 |
submit_1 = gr.Button(value='Abdelbaki')
|
@@ -93,7 +94,7 @@ with gr.Blocks() as demo:
|
|
93 |
with gr.Column(scale=0, min_width=250):
|
94 |
submit_4 = gr.Button(value='Random Forest')
|
95 |
|
96 |
-
gr.Markdown("Densidad aparente del suelo (g/cm<sup>3</sup>)
|
97 |
output = gr.Textbox(label="", interactive=False)
|
98 |
|
99 |
submit_1.click(predict_1, inputs=[SOC], outputs=[output])
|
|
|
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 |
+
gr.Markdown("Seleccione un modelo:")
|
87 |
with gr.Row():
|
88 |
with gr.Column(scale=0, min_width=250):
|
89 |
submit_1 = gr.Button(value='Abdelbaki')
|
|
|
94 |
with gr.Column(scale=0, min_width=250):
|
95 |
submit_4 = gr.Button(value='Random Forest')
|
96 |
|
97 |
+
gr.Markdown("Densidad aparente del suelo (g/cm<sup>3</sup>):")
|
98 |
output = gr.Textbox(label="", interactive=False)
|
99 |
|
100 |
submit_1.click(predict_1, inputs=[SOC], outputs=[output])
|