VTdevelops/AI_CV_Generator
0
CV Tailor Studio
CV Tailor Studio is a Gradio application that ingests your existing CV (PDF) and a target job description, then asks the latest OpenAI models (default: gpt-5.1) to craft a tailored, ATS-conscious resume. The resulting one-pager is rendered into a polished PDF with a modern layout ready for human reviewers and screening systems alike.
Features
- LLM-powered rewriting – prompts OpenAI models with persona-based tone guidance to rewrite your CV for the specific role.
- Keyword insights – surfaces coverage statistics for the most frequent terms in the job description.
- Premium PDF design – transforms the generated text into a styled A4 resume with color accents, section headers, and bullet markers.
- Ready for Hugging Face Spaces – lightweight dependency list and Gradio UI designed for deployment.
Getting Started
Prerequisites
- Python 3.10+
- An OpenAI API key with access to the selected models (set
OPENAI_API_KEY).
Installation
pip install -r requirements.txtUsage
export OPENAI_API_KEY=sk-your-key
python app.py- Upload your current CV as a PDF (text-based PDFs work best).
- Paste the full target job description.
- Pick the narrative tone and OpenAI model (e.g.,
gpt-5.1,gpt-4.1,gpt-4o). - Click Generate tailored CV to receive:
- A preview of the generated resume text.
- Keyword coverage metrics.
- A downloadable polished PDF.
Deploying to Hugging Face Spaces
- Push the project (including
app.pyandrequirements.txt) to a Git repository linked to your Space. - In the Space settings, add an environment variable
OPENAI_API_KEY. - Select the Gradio runtime; Spaces will run
python app.pyautomatically.
Project Structure
app.py # Gradio app, OpenAI integration, PDF renderer
requirements.txt
README.mdTroubleshooting
- Empty or garbled previews: Ensure the source CV PDF contains selectable text (not just scanned images).
- OpenAI errors: Confirm your API key is valid and has access to the chosen model.
- Missing keywords: Consider rerunning with a different tone or manually editing the generated text before sending.
License
This project is provided as-is; adapt and extend it to suit your personal or organizational resume-building workflows.
