dolaposalim commited on
Commit
8bf9b8c
·
verified ·
1 Parent(s): 5e403e6

Update app.py

Browse files

added footnotes

Files changed (1) hide show
  1. app.py +1 -0
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