Update app.py
Browse files
app.py
CHANGED
@@ -38,14 +38,16 @@ def predict_image(img):
|
|
38 |
return formatted_class_probabilities
|
39 |
|
40 |
# Define the Gradio Interface with the desired title and description
|
|
|
41 |
description_html = """
|
42 |
-
<p>This model was trained by Moaz Eldsouky You can find more about me here:</p>
|
43 |
<p>GitHub: <a href="https://github.com/MoazEldsouky">GitHub Profile</a></p>
|
44 |
<p>LinkedIn: <a href="https://www.linkedin.com/in/moaz-eldesouky-762288251/">LinkedIn Profile</a></p>
|
45 |
<p>Kaggle: <a href="https://www.kaggle.com/moazeldsokyx">Kaggle Profile</a></p>
|
46 |
<p>This model was trained to classify plant diseases using the Plant Villages dataset.</p>
|
47 |
<p>You can see how this model was trained on the following Kaggle Notebook:</p>
|
48 |
<p><a href="https://www.kaggle.com/code/moazeldsokyx/plant-leaf-diseases-detection-using-cnn">Kaggle Notebook</a></p>
|
|
|
49 |
<p>Upload a photo to see how the model predicts!</p>
|
50 |
"""
|
51 |
|
|
|
38 |
return formatted_class_probabilities
|
39 |
|
40 |
# Define the Gradio Interface with the desired title and description
|
41 |
+
|
42 |
description_html = """
|
43 |
+
<p>This model was trained by Moaz Eldsouky. You can find more about me here:</p>
|
44 |
<p>GitHub: <a href="https://github.com/MoazEldsouky">GitHub Profile</a></p>
|
45 |
<p>LinkedIn: <a href="https://www.linkedin.com/in/moaz-eldesouky-762288251/">LinkedIn Profile</a></p>
|
46 |
<p>Kaggle: <a href="https://www.kaggle.com/moazeldsokyx">Kaggle Profile</a></p>
|
47 |
<p>This model was trained to classify plant diseases using the Plant Villages dataset.</p>
|
48 |
<p>You can see how this model was trained on the following Kaggle Notebook:</p>
|
49 |
<p><a href="https://www.kaggle.com/code/moazeldsokyx/plant-leaf-diseases-detection-using-cnn">Kaggle Notebook</a></p>
|
50 |
+
<p>The model achieved an accuracy of <strong>96%</strong> on the test set.</p>
|
51 |
<p>Upload a photo to see how the model predicts!</p>
|
52 |
"""
|
53 |
|