import os from flask import Flask, request, render_template_string app = Flask(__name__) SKIN_DATA = { "Normal": { "makeup": "Natural look with light foundation and subtle blush.", "products": "Gentle cleanser, hydrating moisturizer, and SPF protection." }, "Dry": { "makeup": "Hydrating foundation, cream blush, and dewy finish products.", "products": "Hydrating cleanser, intense moisturizer, nourishing oils." }, "Oily": { "makeup": "Mattifying foundation, powder blush, and oil-control products.", "products": "Foaming cleanser, oil-free moisturizer, mattifying primers." }, "Combination": { "makeup": "Balanced foundation for T-zone and cheeks, versatile blush.", "products": "Gentle cleanser, balancing moisturizer, lightweight sunscreen." }, "Sensitive": { "makeup": "Hypoallergenic and fragrance-free makeup products.", "products": "Fragrance-free cleanser, soothing moisturizer, calming serums." } } HTML_TEMPLATE = '''
Maquillaje: {{ recommendations.makeup }}
Cuidado de la piel: {{ recommendations.products }}