Spaces:
Sleeping
Sleeping
Update app.py
Browse filesadded footnotes
app.py
CHANGED
@@ -32,6 +32,7 @@ def predict(image):
|
|
32 |
confidence_percentage = confidence * 100
|
33 |
result_text = f"<h2>Prediction: image contains <strong>{predicted_class}</strong></h2>\n"
|
34 |
result_text += f"<h3>at <strong>{confidence_percentage:.2f}%</strong> Confidence level</h3>"
|
|
|
35 |
return result_text
|
36 |
|
37 |
# Gradio interface
|
|
|
32 |
confidence_percentage = confidence * 100
|
33 |
result_text = f"<h2>Prediction: image contains <strong>{predicted_class}</strong></h2>\n"
|
34 |
result_text += f"<h3>at <strong>{confidence_percentage:.2f}%</strong> Confidence level</h3>"
|
35 |
+
result_text += "<br><br><small><i>Note: This model isn't always accurate as it was built with fewer images. It will be monitored for further improvement.</i></small>"
|
36 |
return result_text
|
37 |
|
38 |
# Gradio interface
|