Ayesha-Majeed commited on
Commit
0a3e2aa
·
verified ·
1 Parent(s): 041c129

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -124,12 +124,12 @@ with gr.Blocks(
124
  ph = gr.Number(label="pH")
125
 
126
  # gr.Markdown("### Autofilled Actual Metrics (from Excel)")
127
- # chlorophyll = gr.Number(label="Chlorophyll (SPAD)")
128
- # shoot_len = gr.Number(label="Shoot Length (cm)")
129
- # root_len = gr.Number(label="Root Length (cm)")
130
- # shoot_wt = gr.Number(label="Shoot Wt (g)")
131
- # root_wt = gr.Number(label="Root Wt (g)")
132
- # yield_gp = gr.Number(label="Yield (g/pot)")
133
 
134
  with gr.Row():
135
  predict_btn = gr.Button(" Predict", variant="primary")
@@ -138,7 +138,7 @@ with gr.Blocks(
138
  with gr.Column(scale=1):
139
  gr.Markdown("### Prediction Results Table")
140
  result_table = gr.DataFrame(
141
- headers=["Output Metric", "Actual Value", "Predicted Value", "Absolute Error"],
142
  label="Results Comparison",
143
  interactive=False
144
  )
 
124
  ph = gr.Number(label="pH")
125
 
126
  # gr.Markdown("### Autofilled Actual Metrics (from Excel)")
127
+ chlorophyll = gr.Number(label="Chlorophyll (SPAD)")
128
+ shoot_len = gr.Number(label="Shoot Length (cm)")
129
+ root_len = gr.Number(label="Root Length (cm)")
130
+ shoot_wt = gr.Number(label="Shoot Wt (g)")
131
+ root_wt = gr.Number(label="Root Wt (g)")
132
+ yield_gp = gr.Number(label="Yield (g/pot)")
133
 
134
  with gr.Row():
135
  predict_btn = gr.Button(" Predict", variant="primary")
 
138
  with gr.Column(scale=1):
139
  gr.Markdown("### Prediction Results Table")
140
  result_table = gr.DataFrame(
141
+ headers=["Output Metric", "Predicted Value"], #"Actual Value", "Absolute Error"
142
  label="Results Comparison",
143
  interactive=False
144
  )