Update app.py
Browse files
app.py
CHANGED
@@ -76,13 +76,11 @@ def adapt_resume(resume_data, keywords, job_description, model, max_retries=3):
|
|
76 |
- High priority (3x weight)
|
77 |
- Medium priority (2x weight)
|
78 |
- Low priority (1x weight)
|
79 |
-
|
80 |
Rules:
|
81 |
- Keep all original facts and information
|
82 |
- Maintain exact JSON structure and all existing keys
|
83 |
- Use natural language from the keywords list
|
84 |
- Do not add fictional content
|
85 |
-
|
86 |
Base Schema: {json.dumps(original_schema)}
|
87 |
Keywords: {json.dumps(keywords)}
|
88 |
Job Description: {job_description}"""
|
@@ -189,16 +187,44 @@ st.title("๐ Curriculum Customization Tool")
|
|
189 |
st.markdown("### Transform your resume for your dream job")
|
190 |
# Sidebar with API key
|
191 |
with st.sidebar:
|
192 |
-
st.markdown("###
|
193 |
-
st.markdown("
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
194 |
|
195 |
# Disclaimer
|
196 |
st.warning("""
|
197 |
โ ๏ธ **Disclaimer**
|
198 |
|
199 |
This tool is for educational purposes only.
|
200 |
-
AI-based tools can produce unexpected
|
201 |
-
|
202 |
""")
|
203 |
|
204 |
api_key = st.secrets["google_api_key"]
|
|
|
76 |
- High priority (3x weight)
|
77 |
- Medium priority (2x weight)
|
78 |
- Low priority (1x weight)
|
|
|
79 |
Rules:
|
80 |
- Keep all original facts and information
|
81 |
- Maintain exact JSON structure and all existing keys
|
82 |
- Use natural language from the keywords list
|
83 |
- Do not add fictional content
|
|
|
84 |
Base Schema: {json.dumps(original_schema)}
|
85 |
Keywords: {json.dumps(keywords)}
|
86 |
Job Description: {job_description}"""
|
|
|
187 |
st.markdown("### Transform your resume for your dream job")
|
188 |
# Sidebar with API key
|
189 |
with st.sidebar:
|
190 |
+
st.markdown("### ๐ How to Use")
|
191 |
+
st.markdown("""
|
192 |
+
1. **Prepare Your Resume**:
|
193 |
+
- Create a basic resume at [rxresu.me](https://rxresu.me)
|
194 |
+
- Export it as JSON (not PDF)
|
195 |
+
|
196 |
+
2. **Get Job Details**:
|
197 |
+
- Copy the job posting URL
|
198 |
+
|
199 |
+
3. **Use the Tool**:
|
200 |
+
- Upload your resume JSON
|
201 |
+
- Paste the job URL
|
202 |
+
- Click 'Tailor Resume'
|
203 |
+
|
204 |
+
4. **Final Steps**:
|
205 |
+
- Download the tailored JSON
|
206 |
+
- Import back to rxresu.me
|
207 |
+
- Export as PDF for application
|
208 |
+
""")
|
209 |
+
|
210 |
+
st.markdown("### โน๏ธ About")
|
211 |
+
st.markdown("""
|
212 |
+
This tool uses Google's Gemini model to optimize your resume for ATS systems.
|
213 |
+
|
214 |
+
๐ Open Source: Feel free to modify and adapt this tool to your needs.
|
215 |
+
The source code is available and customizable.
|
216 |
+
|
217 |
+
๐ง Contact: For questions or suggestions, reach out to:
|
218 | |
219 |
+
""")
|
220 |
|
221 |
# Disclaimer
|
222 |
st.warning("""
|
223 |
โ ๏ธ **Disclaimer**
|
224 |
|
225 |
This tool is for educational purposes only.
|
226 |
+
AI-based tools can produce unexpected results.
|
227 |
+
Always verify the output before using.
|
228 |
""")
|
229 |
|
230 |
api_key = st.secrets["google_api_key"]
|