Spaces:
Sleeping
Sleeping
Update app.py
#2
by
smaDFJGJSDF
- opened
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>
|
| 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>
|
| 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>
|