ericjedha commited on
Commit
e7fafc8
·
verified ·
1 Parent(s): 9ba9228

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -571,7 +571,7 @@ def quick_predict_ui(image_pil):
571
  if mel_prob > 5 and top_class_name != "mel":
572
  warning_html = f'''
573
  <div class="warning-message">
574
- <img src="https://huggingface.co/spaces/ericjedha/skin_care/resolve/main/mel-modere.webp" width="150" style = "float:left"> Le modèle a détecté un risque modéré de mélanome ({mel_prob:.1f}%).
575
  <strong>Veuillez consulter votre médecin pour lever tout doute</strong>.
576
  </div>
577
  '''
 
571
  if mel_prob > 5 and top_class_name != "mel":
572
  warning_html = f'''
573
  <div class="warning-message">
574
+ <img src="https://huggingface.co/spaces/ericjedha/skin_care/resolve/main/mel-modere.webp" width="80" style = "float:left"> Le modèle a détecté un risque modéré de mélanome <strong>({mel_prob:.1f}%)</strong>.
575
  <strong>Veuillez consulter votre médecin pour lever tout doute</strong>.
576
  </div>
577
  '''