Spaces:
Paused
Paused
File size: 1,140 Bytes
f3350ab | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | FRENCH_BRANDS = {
"vichy",
"la roche-posay",
"la roche posay",
"bioderma",
"avène",
"avene",
"eau thermale avène",
"eau thermale avene",
"caudalie",
"nuxe",
"clarins",
"lancôme",
"lancome",
"l'oréal",
"l'oreal",
"loreal",
"garnier",
"yves rocher",
"yves saint laurent",
"ysl beauté",
"institut esthederm",
"esthederm",
"sothys",
"filorga",
"embryolisse",
"lierac",
"liérac",
"roc",
"roger & gallet",
"sisley",
"givenchy",
"christian dior",
"dior",
"chanel",
"guerlain",
"payot",
"biotherm",
"mustela",
"galénic",
"galenic",
"phyto",
"kérastase",
"kerastase",
"decléor",
"decleor",
"svr",
"a-derma",
"aderma",
"ducray",
"klorane",
"rené furterer",
"rene furterer",
"nuxuriance",
"by terry",
"make up for ever",
"sephora collection",
"erborian",
}
def is_french(brand: str) -> bool:
if not brand or not isinstance(brand, str):
return False
return brand.lower().strip() in FRENCH_BRANDS
|