hola-ivan commited on
Commit
247fde3
ยท
verified ยท
1 Parent(s): 735280d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +32 -6
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("### About")
193
- st.markdown("This tool works with Google's Gemini model, which you can use for free. For more information, visit [Google AI Studio](https://ai.google.dev/aistudio).")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194
 
195
  # Disclaimer
196
  st.warning("""
197
  โš ๏ธ **Disclaimer**
198
 
199
  This tool is for educational purposes only.
200
- AI-based tools can produce unexpected or inaccurate results.
201
- By using this tool, you accept full responsibility for verifying and using its output.
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"]