Ayesha-Majeed commited on
Commit
023bb68
·
verified ·
1 Parent(s): c727ce9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -125,7 +125,16 @@ with gr.Blocks(
125
  pred_box = gr.Markdown("Awaiting prediction...")
126
  actual_box = gr.Markdown("")
127
  abs_box = gr.Markdown("")
128
- log_box = gr.Textbox(label="Debug Logs", lines=15) # <-- Add this
 
 
 
 
 
 
 
 
 
129
  predict_btn.click(
130
  fn=predict_dose,
131
  inputs=[crop, strain, soil_n, soil_p, soil_k, soil_ec, soil_moisture,
 
125
  pred_box = gr.Markdown("Awaiting prediction...")
126
  actual_box = gr.Markdown("")
127
  abs_box = gr.Markdown("")
128
+ log_box = gr.Textbox(label="Debug Logs", lines=15)# <-- Add this
129
+ gr.Markdown(
130
+ """
131
+ ### 💡 Tips:
132
+ - Upload multiple files for batch processing
133
+ - For images: ensure text is clear and well-lit
134
+ - For PDFs: both text-based and scanned PDFs work
135
+ - The AI will analyze visual content even if text extraction fails
136
+ """
137
+ )
138
  predict_btn.click(
139
  fn=predict_dose,
140
  inputs=[crop, strain, soil_n, soil_p, soil_k, soil_ec, soil_moisture,