Update app.py
Browse files
app.py
CHANGED
|
@@ -18,16 +18,22 @@ st.markdown("""
|
|
| 18 |
.css-1d391kg { /* Sidebar */
|
| 19 |
width: 350px !important;
|
| 20 |
}
|
| 21 |
-
[data-testid="
|
| 22 |
display: none !important;
|
| 23 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
[data-testid="stExpander"] summary { /* Expander headers */
|
| 25 |
-
font-size:
|
| 26 |
-
color: #007BFF !important;
|
| 27 |
font-weight: bold !important;
|
| 28 |
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1) !important;
|
| 29 |
white-space: nowrap !important;
|
| 30 |
}
|
|
|
|
|
|
|
|
|
|
| 31 |
</style>
|
| 32 |
""", unsafe_allow_html=True)
|
| 33 |
|
|
@@ -183,7 +189,7 @@ def generate_skill_pie_chart(resumes):
|
|
| 183 |
with st.sidebar:
|
| 184 |
st.markdown("""
|
| 185 |
<h1 style='text-align: center; color: #007BFF; font-size: 32px; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); margin-bottom: 10px;'>💻 Resume Screening Assistant for Data/Tech</h1>
|
| 186 |
-
<p style='text-align: center;
|
| 187 |
Welcome to our AI-powered resume screening tool, specialized for data science and tech roles! This app evaluates multiple resumes against a single job description to determine suitability, providing concise summaries of key data and tech skills and experience. Built with advanced natural language processing, it ensures accurate and efficient screening for technical positions.
|
| 188 |
</p>
|
| 189 |
""", unsafe_allow_html=True)
|
|
@@ -191,7 +197,7 @@ with st.sidebar:
|
|
| 191 |
with st.expander("📋 How to Use the App", expanded=True):
|
| 192 |
st.markdown("""
|
| 193 |
**Instructions**:
|
| 194 |
-
|
| 195 |
- Enter the job description in the provided text box, specifying required skills and experience (e.g., "Data scientist requires python, machine learning, 3 years+").
|
| 196 |
- Click **Analyze** to evaluate all non-empty resumes (at least one required).
|
| 197 |
- Use **Add Resume** or **Remove Resume** to adjust the number of resume fields.
|
|
|
|
| 18 |
.css-1d391kg { /* Sidebar */
|
| 19 |
width: 350px !important;
|
| 20 |
}
|
| 21 |
+
[data-testid="stSidebarCollapseButton"] { /* Hide toggle button */
|
| 22 |
display: none !important;
|
| 23 |
}
|
| 24 |
+
.stSidebar { /* Ensure sidebar visibility */
|
| 25 |
+
min-width: 350px !important;
|
| 26 |
+
visibility: visible !important;
|
| 27 |
+
}
|
| 28 |
[data-testid="stExpander"] summary { /* Expander headers */
|
| 29 |
+
font-size: 26px !important;
|
|
|
|
| 30 |
font-weight: bold !important;
|
| 31 |
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1) !important;
|
| 32 |
white-space: nowrap !important;
|
| 33 |
}
|
| 34 |
+
.st-expander-content p { /* Expander body text */
|
| 35 |
+
font-size: 12px !important;
|
| 36 |
+
}
|
| 37 |
</style>
|
| 38 |
""", unsafe_allow_html=True)
|
| 39 |
|
|
|
|
| 189 |
with st.sidebar:
|
| 190 |
st.markdown("""
|
| 191 |
<h1 style='text-align: center; color: #007BFF; font-size: 32px; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); margin-bottom: 10px;'>💻 Resume Screening Assistant for Data/Tech</h1>
|
| 192 |
+
<p style='text-align: center; font-size: 16px; margin-top: 0;'>
|
| 193 |
Welcome to our AI-powered resume screening tool, specialized for data science and tech roles! This app evaluates multiple resumes against a single job description to determine suitability, providing concise summaries of key data and tech skills and experience. Built with advanced natural language processing, it ensures accurate and efficient screening for technical positions.
|
| 194 |
</p>
|
| 195 |
""", unsafe_allow_html=True)
|
|
|
|
| 197 |
with st.expander("📋 How to Use the App", expanded=True):
|
| 198 |
st.markdown("""
|
| 199 |
**Instructions**:
|
| 200 |
+
.ConcurrentModificationException: - Enter up to 5 candidate resumes in the text boxes, listing data/tech skills and experience (e.g., "Expert in python, tensorflow, 4 years experience").
|
| 201 |
- Enter the job description in the provided text box, specifying required skills and experience (e.g., "Data scientist requires python, machine learning, 3 years+").
|
| 202 |
- Click **Analyze** to evaluate all non-empty resumes (at least one required).
|
| 203 |
- Use **Add Resume** or **Remove Resume** to adjust the number of resume fields.
|