AllInterviewCoach is an innovative solution designed to help students and job seekers prepare for interviews more effectively. Developed during an internship at Blockverse, this project leverages the power of artificial intelligence (AI) to generate realistic mock interview scenarios, complete with transcripts and video simulations.
- Custom Scenarios: Generate personalized mock interview scripts tailored to specific roles and experience levels.
- Role-specific Questions: Focus on job-specific questions to enhance preparation.
- AI-generated Visuals: Create realistic and professional images to simulate interview environments.
- Professional Voice-overs: Use text-to-speech technology to create realistic interview audio.
- Programming Languages: Python
- Libraries:
streamlit
for the web interfaceopenai
for generating interview scriptsgtts
for text-to-speech conversionPIL
for image processingmoviepy
for video creationcv2
for image handlingrequests
for API calls
- APIs:
- OpenAI API
- Hugging Face API for image generation
- Tools:
- Docker for containerization
-
Clone the repository:
git clone https://github.com/dhruv-decoder/AllInterviewCoach.git cd AllInterviewCoach
-
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the dependencies:
pip install -r requirements.txt
-
Set up your API keys:
- Add your OpenAI and Hugging Face API keys to
secrets.toml
in the.streamlit
folder:
[general] OPENAI_API_KEY = "your_openai_api_key" HUGGINGFACE_API_KEY = "your_huggingface_api_key"
- Add your OpenAI and Hugging Face API keys to
-
Run the Streamlit app:
streamlit run app.py
-
Fill in the required fields on the web interface:
- Job Role: e.g., Data Analyst, UX Designer
- Experience Level: Entry-level, Mid-level, Senior
- Interview Scenario: Standard, Technical, Behavioral
- Additional Details: Skills, company information, etc.
-
Generate the Mock Interview: Click on "Generate Mock Interview" to create your personalized interview video.
-
Transcript Generation:
- Uses GPT-3.5 to create a realistic interview script based on the user's inputs.
-
Audio Generation:
- Converts the generated script into audio using Google TTS.
-
Image Generation:
- Uses the Hugging Face API to create relevant and professional images.
-
Video Creation:
- Combines the generated audio and images into a video using MoviePy.
- Be Specific: Provide detailed information about the role and your skills.
- Try Different Scenarios: Experiment with various interview scenarios to get comprehensive practice.
- Practice: Use the generated videos to practice and improve your interview skills.
Contributions are welcome! Please fork the repository and submit a pull request for any enhancements or bug fixes.