Update app.py
Browse files
app.py
CHANGED
|
@@ -38,22 +38,8 @@ FOOTER_TEXT = """
|
|
| 38 |
</footer>
|
| 39 |
"""
|
| 40 |
|
| 41 |
-
COVER_LETTER_DISCLAIMER = """
|
| 42 |
-
<p style="font-style: italic; color: #888;">
|
| 43 |
-
Disclaimer: This cover letter is generated based on the provided job description and resume.
|
| 44 |
-
It should be carefully reviewed and tailored to your specific needs and the company's requirements before use.
|
| 45 |
-
</p>
|
| 46 |
-
"""
|
| 47 |
-
|
| 48 |
-
INTERVIEW_QUESTIONS_DISCLAIMER = """
|
| 49 |
-
<p style="font-style: italic; color: #888;">
|
| 50 |
-
Disclaimer: These interview questions are generated based on the provided job description.
|
| 51 |
-
They should be reviewed and adjusted to better fit the specific role, company culture, and interview process.
|
| 52 |
-
</p>
|
| 53 |
-
"""
|
| 54 |
-
|
| 55 |
RESUME_ANALYZER_INSTRUCTIONS = """
|
| 56 |
-
<div style="background-color: #
|
| 57 |
<p><strong>Instructions:</strong></p>
|
| 58 |
<ul>
|
| 59 |
<li>Upload your resume (PDF or DOCX) in the file upload area.</li>
|
|
@@ -65,7 +51,7 @@ RESUME_ANALYZER_INSTRUCTIONS = """
|
|
| 65 |
"""
|
| 66 |
|
| 67 |
COVER_LETTER_INSTRUCTIONS = """
|
| 68 |
-
<div style="background-color: #
|
| 69 |
<p><strong>Instructions for Cover Letter Generation:</strong></p>
|
| 70 |
<ol>
|
| 71 |
<li>First, go to the "Resume Analyzer" tab.</li>
|
|
@@ -76,12 +62,27 @@ COVER_LETTER_INSTRUCTIONS = """
|
|
| 76 |
"""
|
| 77 |
|
| 78 |
INTERVIEW_QUESTIONS_INSTRUCTIONS = """
|
| 79 |
-
<div style="background-color: #
|
| 80 |
<p><strong>Instructions for Interview Questions Generation:</strong></p>
|
| 81 |
<p>Enter the job description in the text box below and click "Generate Interview Questions".</p>
|
| 82 |
</div>
|
| 83 |
"""
|
| 84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
TITLE = "<h1>📄 ATS Resume Analyzer 📄</h1>"
|
| 86 |
PLACEHOLDER = "Chat with AI about your resume and job descriptions..."
|
| 87 |
|
|
|
|
| 38 |
</footer>
|
| 39 |
"""
|
| 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
RESUME_ANALYZER_INSTRUCTIONS = """
|
| 42 |
+
<div style="background-color: #000000; color: #ffffff; padding: 10px; border-radius: 5px; margin-bottom: 10px;">
|
| 43 |
<p><strong>Instructions:</strong></p>
|
| 44 |
<ul>
|
| 45 |
<li>Upload your resume (PDF or DOCX) in the file upload area.</li>
|
|
|
|
| 51 |
"""
|
| 52 |
|
| 53 |
COVER_LETTER_INSTRUCTIONS = """
|
| 54 |
+
<div style="background-color: #000000; color: #ffffff; padding: 10px; border-radius: 5px; margin-bottom: 10px;">
|
| 55 |
<p><strong>Instructions for Cover Letter Generation:</strong></p>
|
| 56 |
<ol>
|
| 57 |
<li>First, go to the "Resume Analyzer" tab.</li>
|
|
|
|
| 62 |
"""
|
| 63 |
|
| 64 |
INTERVIEW_QUESTIONS_INSTRUCTIONS = """
|
| 65 |
+
<div style="background-color: #000000; color: #ffffff; padding: 10px; border-radius: 5px; margin-bottom: 10px;">
|
| 66 |
<p><strong>Instructions for Interview Questions Generation:</strong></p>
|
| 67 |
<p>Enter the job description in the text box below and click "Generate Interview Questions".</p>
|
| 68 |
</div>
|
| 69 |
"""
|
| 70 |
|
| 71 |
+
# Also update the disclaimer styles to match
|
| 72 |
+
COVER_LETTER_DISCLAIMER = """
|
| 73 |
+
<p style="font-style: italic; color: #cccccc; background-color: #000000; padding: 10px; border-radius: 5px;">
|
| 74 |
+
Disclaimer: This cover letter is generated based on the provided job description and resume.
|
| 75 |
+
It should be carefully reviewed and tailored to your specific needs and the company's requirements before use.
|
| 76 |
+
</p>
|
| 77 |
+
"""
|
| 78 |
+
|
| 79 |
+
INTERVIEW_QUESTIONS_DISCLAIMER = """
|
| 80 |
+
<p style="font-style: italic; color: #cccccc; background-color: #000000; padding: 10px; border-radius: 5px;">
|
| 81 |
+
Disclaimer: These interview questions are generated based on the provided job description.
|
| 82 |
+
They should be reviewed and adjusted to better fit the specific role, company culture, and interview process.
|
| 83 |
+
</p>
|
| 84 |
+
"""
|
| 85 |
+
|
| 86 |
TITLE = "<h1>📄 ATS Resume Analyzer 📄</h1>"
|
| 87 |
PLACEHOLDER = "Chat with AI about your resume and job descriptions..."
|
| 88 |
|