Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available:
6.9.0
metadata
title: Job Application Optimizer
emoji: πΌ
colorFrom: purple
colorTo: blue
sdk: gradio
sdk_version: 4.44.1
app_file: app.py
pinned: false
Job Application Optimizer πΌ
AI-powered tool to tailor your resume and generate personalized messages for job applications.
π Features
- π Resume Analysis: Upload your PDF resume and extract text
- π― Job Matching: Paste any job description
- β¨ AI-Powered Generation:
- π¬ LinkedIn message for recruiter (short, personal, 3-4 sentences)
- π§ Email to hiring manager (detailed, professional, 5-7 paragraphs)
- π Tailored resume content (ATS-optimized keywords)
- β¬οΈ Download as PDF
π€ Supported Models
- GPT-4o (OpenAI) - Premium, fastest, most accurate
- Claude-3.5-Sonnet (Anthropic) - Premium, excellent for professional writing
π Quick Start
Local Development
# 1. Install dependencies
pip install -r requirements.txt
# 2. Set up environment variables
# Create a .env file with:
OPENAI_API_KEY=your_openai_api_key_here
ANTHROPIC_API_KEY=your_anthropic_api_key_here
APP_PASSWORD=your_secure_password
# 3. Run the app
python app.py
The app will launch at http://0.0.0.0:7860 with password protection.
π Authentication
- Username:
user - Password: Set via
APP_PASSWORDenvironment variable (default:jobapp123)
π¦ Deployment to HuggingFace Spaces
Step 1: Create a Space
- Go to HuggingFace Spaces
- Click "Create new Space"
- Choose:
- Name:
job-application-optimizer(or your preferred name) - SDK: Gradio
- Hardware: CPU Basic (free tier works fine)
- Visibility: Public or Private
- Name:
Step 2: Upload Files
Upload these files to your Space:
βββ app.py
βββ requirements.txt
βββ packages.txt
βββ README.md
Step 3: Configure Secrets
Go to Settings β Repository secrets and add:
OPENAI_API_KEY=sk-...your-key-here
ANTHROPIC_API_KEY=sk-ant-...your-key-here
APP_PASSWORD=your-secure-password
Step 4: Deploy! π
Your app will automatically build and deploy. Access it at:
https://huggingface.co/spaces/YOUR_USERNAME/job-application-optimizer
π How to Use
- Login with the password you set
- Upload your resume PDF (any format accepted)
- Paste the complete job description
- Select your preferred AI model (GPT-4o or Claude)
- Click "Generate Application Materials"
- Review the generated content:
- Copy LinkedIn message
- Copy email content
- Review tailored resume
- Download the tailored resume as PDF
β οΈ Ethical Use Notice
This tool ONLY optimizes existing resume content. It NEVER fabricates experience.
What it does:
- β Rewrites bullet points for clarity and impact
- β Adjusts keywords to match job requirements
- β Reorders/emphasizes relevant experience
- β Highlights transferable skills
What it NEVER does:
- β Add skills or experience not in original resume
- β Change dates, company names, or job titles
- β Fabricate education or certifications
- β Invent projects or achievements
All outputs remain truthful to your original resume.
π§ Troubleshooting
"Error: OPENAI_API_KEY not found"
- Make sure you added the API key in Space secrets
- Restart the Space after adding secrets
"Error reading PDF"
- Ensure your PDF is not password-protected
- Try re-saving the PDF and uploading again
"No response from AI"
- Check your API key has credits/quota
- Try switching to the other model
PDF Download Not Working
- Make sure you generated content first
- The tailored resume text must be present
π Requirements
- Python 3.9+
- Gradio 4.44.1
- OpenAI API key (for GPT-4o)
- Anthropic API key (for Claude)
See requirements.txt for full dependencies.
π€ Support
For issues or questions:
- Check the troubleshooting section above
- Verify your API keys are valid and have credits
- Ensure your resume PDF is readable
π License
This project is provided as-is for educational and personal use.
Made with β€οΈ for job seekers everywhere