MiguelCh commited on
Commit
2125012
verified
1 Parent(s): 27d4774

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -46,7 +46,7 @@ def predict_4(pH: float, EC: float, CCE: float, SOC: float, Sa: float, Si: float
46
 
47
  # Crear la interfaz Gradio
48
  with gr.Blocks() as demo:
49
- gr.Markdown("# Estimar la densidad aparente del suelo")
50
  with gr.Row():
51
  with gr.Column():
52
  SOC = gr.Number(label="MO (%)", value=2.9408, interactive=True)
@@ -79,7 +79,7 @@ with gr.Blocks() as demo:
79
  submit_3 = gr.Button(value='MLRegression')
80
  with gr.Column():
81
  submit_4 = gr.Button(value='Random Forest')
82
- output = gr.Textbox(label=" (%): Densidad aparente del suelo.", interactive=False)
83
 
84
  submit_1.click(predict_1, inputs=[SOC], outputs=[output])
85
  submit_2.click(predict_2, inputs=[SOC, Cy], outputs=[output])
 
46
 
47
  # Crear la interfaz Gradio
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():
52
  SOC = gr.Number(label="MO (%)", value=2.9408, interactive=True)
 
79
  submit_3 = gr.Button(value='MLRegression')
80
  with gr.Column():
81
  submit_4 = gr.Button(value='Random Forest')
82
+ output = gr.Textbox(label=" Densidad aparente del suelo (%).", interactive=False)
83
 
84
  submit_1.click(predict_1, inputs=[SOC], outputs=[output])
85
  submit_2.click(predict_2, inputs=[SOC, Cy], outputs=[output])