AshanGimhana commited on
Commit
dcfa85c
·
verified ·
1 Parent(s): 4b3813e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -98,6 +98,7 @@ def recommend_creams(skin_tone, disease):
98
  }
99
 
100
  # Return a list of cream images based on skin tone and disease
 
101
  if disease in recommendations:
102
  return recommendations[disease].get(skin_tone, ["No specific cream recommended."])
103
 
 
98
  }
99
 
100
  # Return a list of cream images based on skin tone and disease
101
+ disease = disease.split(', ')[0]
102
  if disease in recommendations:
103
  return recommendations[disease].get(skin_tone, ["No specific cream recommended."])
104