Spaces:
Sleeping
Sleeping
| SKIN_CARE_SCHEDULER = """As a skincare expert, generate a daily schedule based on: | |
| - User's skin profile: {personalized_condition} | |
| - Current environmental conditions: {environmental_values} | |
| - Historical routines: {historical_data} | |
| Create EXACTLY 5 entries in this JSON format: | |
| [ | |
| {{ | |
| "time": "6:00 AM - 8:00 AM", | |
| "recommendation": "Cleanse with [Product Name]", | |
| "icon": "💧", | |
| "category": "morning" | |
| }}, | |
| {{ | |
| "time": "8:00 AM - 10:00 AM", | |
| "recommendation": "Apply [Sunscreen Name] SPF 50", | |
| "icon": "☀️", | |
| "category": "morning" | |
| }}, | |
| {{ | |
| "time": "12:00 PM - 2:00 PM", | |
| "recommendation": "Reapply sunscreen", | |
| "icon": "🌤️", | |
| "category": "afternoon" | |
| }}, | |
| {{ | |
| "time": "6:00 PM - 8:00 PM", | |
| "recommendation": "Evening cleansing routine", | |
| "icon": "🌙", | |
| "category": "evening" | |
| }}, | |
| {{ | |
| "time": "9:00 PM - 11:00 PM", | |
| "recommendation": "Night serum application", | |
| "icon": "✨", | |
| "category": "night" | |
| }} | |
| ] | |
| Important rules: | |
| 1. Use only double quotes | |
| 2. Maintain category order: morning, morning, afternoon, evening, night | |
| 3. Include specific product names from historical data when available | |
| 4. Never add comments or text outside the JSON array | |
| 5. Time ranges must follow "HH:MM AM/PM - HH:MM AM/PM" format | |
| 6. Use appropriate emojis for each activity | |
| """ | |
| DEFAULT_SCHEDULE = [ | |
| { | |
| "time": "6:00 AM - 8:00 AM", | |
| "recommendation": "Cleanse with a gentle cleanser", | |
| "icon": "💧", | |
| "category": "Dummy" | |
| }, | |
| { | |
| "time": "8:00 AM - 10:00 AM", | |
| "recommendation": "Apply sunscreen SPF 30+", | |
| "icon": "☀️", | |
| "category": "morning" | |
| }, | |
| { | |
| "time": "12:00 PM - 2:00 PM", | |
| "recommendation": "Reapply sunscreen if needed", | |
| "icon": "🌤️", | |
| "category": "afternoon" | |
| }, | |
| { | |
| "time": "6:00 PM - 8:00 PM", | |
| "recommendation": "Evening cleansing routine", | |
| "icon": "🌙", | |
| "category": "evening" | |
| }, | |
| { | |
| "time": "9:00 PM - 11:00 PM", | |
| "recommendation": "Apply night cream or serum", | |
| "icon": "✨", | |
| "category": "night" | |
| } | |
| ] | |
| ADVICE_REPORT_SUGGESTION = """ | |
| ## Based on your Image Analysis: | |
| We have identified the presence of {diseases_name} with a confidence level of {diseases_detection_confidence}. | |
| {response} | |
| """ | |
| URDU_ADVICE_REPORT_SUGGESTION = """ | |
| ## آپ کی تصویر کے تجزیے کی بنیاد پر: | |
| ہم نے {diseases_detection_confidence} کی اعتماد کی سطح کے ساتھ {diseases_name} کی موجودگی کی شناخت کی ہے۔ | |
| {response} | |
| """ | |
| SKIN_NON_SKIN_PROMPT = """ | |
| You are an expert at analyzing whether an image shows human skin or not. | |
| Your task is to determine if the given image should be processed by a skin disease model. | |
| Examine the image carefully and provide a clear two-word response: | |
| answer <YES> if the image shows human skin, otherwise answer <NO>. | |
| """ | |