smaDFJGJSDF commited on
Commit
ea8622c
·
verified ·
1 Parent(s): 2432f53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -44,7 +44,7 @@ def predict_disease(image_file, model, all_labels, target_language):
44
  # Provide pesticide information based on the predicted label
45
  if predicted_label == 'Cedar Apple Rust':
46
  pesticide_info = """
47
- <h2><center><b>Cedar Apple Rust</b></center></h2>
48
  <h4>PESTICIDES TO BE USED:</h4><br>
49
 
50
  <ul style="font-size:17px;margin-left:40px;">
@@ -58,7 +58,7 @@ def predict_disease(image_file, model, all_labels, target_language):
58
  <center><p style="font-size:13px;">Be sure to follow local regulations and guidelines for application</p></center>
59
  """
60
  elif predicted_label == 'Apple Scrab':
61
- pesticide_info = """<h2><center><b>Apple Scrab</b></center></h2>
62
  <h4>PESTICIDES TO BE USED:</h4><br>
63
  <ul style="font-size:17px;margin-left:40px;">
64
  <li>1. Chlorothalonil (Daconil)</li>
 
44
  # Provide pesticide information based on the predicted label
45
  if predicted_label == 'Cedar Apple Rust':
46
  pesticide_info = """
47
+ <h2><center><b>changed</b></center></h2>
48
  <h4>PESTICIDES TO BE USED:</h4><br>
49
 
50
  <ul style="font-size:17px;margin-left:40px;">
 
58
  <center><p style="font-size:13px;">Be sure to follow local regulations and guidelines for application</p></center>
59
  """
60
  elif predicted_label == 'Apple Scrab':
61
+ pesticide_info = """<h2><center><b>changed</b></center></h2>
62
  <h4>PESTICIDES TO BE USED:</h4><br>
63
  <ul style="font-size:17px;margin-left:40px;">
64
  <li>1. Chlorothalonil (Daconil)</li>