Ayesha-Majeed commited on
Commit
abd923c
·
verified ·
1 Parent(s): 1547fb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +26 -0
app.py CHANGED
@@ -135,6 +135,32 @@ with gr.Blocks(
135
  )
136
  status_box = gr.Markdown("")
137
  log_box = gr.Textbox(label="Debug Logs", lines=15)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
138
 
139
  # Autofill callback
140
  row_selector.change(
 
135
  )
136
  status_box = gr.Markdown("")
137
  log_box = gr.Textbox(label="Debug Logs", lines=15)
138
+ gr.Markdown(
139
+ """
140
+ ### Input Tips:
141
+ - Select the **pea plant strain** you want to analyze.
142
+ - You can either **select a row** from the Excel sheet to autofill values, or **enter values manually**.
143
+ - Provide all essential input parameters: **Dose (g/pot), Soil N, Soil P, Soil K, and pH**.
144
+ - (Optional) Enter actual observed values for:
145
+ - **Chlorophyll (SPAD)**
146
+ - **Shoot Length (cm)**
147
+ - **Root Length (cm)**
148
+ - **Shoot Weight (g)**
149
+ - **Root Weight (g)**
150
+ - **Yield (g/pot)**
151
+ — these will be used to calculate absolute errors.
152
+ - Click **“Predict”** to generate the model’s predictions.
153
+
154
+ ### Output Tips:
155
+ <div>
156
+ <p style="margin:6px 0;"><strong>Prediction Table:</strong> Displays model predictions for all plant growth metrics.</p>
157
+ <p style="margin:6px 0;"><strong>Actual vs Predicted Comparison:</strong> Shows how close the model predictions are to your entered (or autofilled) values.</p>
158
+ <p style="margin:6px 0;"><strong>Absolute Error:</strong> Gives the difference between actual and predicted values for each metric.</p>
159
+ <p style="margin:6px 0;"><strong>Debug Logs:</strong> Provides detailed trace of model inputs and internal calculations.</p>
160
+ </div>
161
+ """
162
+ )
163
+
164
 
165
  # Autofill callback
166
  row_selector.change(