Refactor app.py to transition from Gradio to Streamlit for the job application email generator interface. Update UI components including text areas, file upload, and sliders for user input. Modify requirements.txt to remove Gradio and include necessary dependencies for Streamlit and Hugging Face. This change enhances user experience and streamlines the email generation process.
Update app.py to replace 'token' with 'API_KEY' in environment variable retrieval and adjust model/tokenizer initialization to use 'use_auth_token' for compatibility with Hugging Face's latest API changes. This ensures proper authentication handling when loading the model and tokenizer.
Update app.py to replace 'use_auth_token' with 'token' in model and tokenizer initialization for compatibility with Hugging Face's latest API changes. This adjustment ensures proper authentication handling when loading the model and tokenizer.
Refactor app.py to transition from Streamlit to Gradio for a more interactive user interface. Implement CV text extraction from both PDF and DOCX formats, enhancing file upload capabilities. Update email generation process to utilize Hugging Face's model directly, improving response generation. Modify requirements.txt to include 'gradio', 'huggingface_hub', and 'python-docx' for new dependencies.
Refactor app.py to remove device_map parameter from model initialization, simplifying the configuration for text generation. This change enhances code clarity and focuses on essential parameters.
Update app.py to increase max_new_tokens for text generation from 512 to 2048, enhancing model output capacity. Remove 'accelerate' package from requirements.txt to streamline dependencies.
Refactor app.py to streamline email generation process by removing unused memory initialization and integrating email history tracking. Added session state management for email history and improved display of previous email generations. Cleaned up comments and enhanced code readability.
Enhance .gitignore to include additional Python, environment, IDE, and model file exclusions. Refactor app.py to improve text generation pipeline initialization with better error handling and enhanced prompt structure for email generation. Update requirements.txt to specify minimum versions for dependencies, ensuring compatibility and stability.
Remove access token input from sidebar in app.py to streamline the CV upload process. This change simplifies the user interface by eliminating unnecessary fields.
Enhance app.py by importing the 'os' module for improved environment variable handling. This change supports better configuration management in the application.
Refactor app.py to implement CV upload and email generation features using Hugging Face's Gemma model. Removed unused job search functions and integrated PDF parsing for CVs. Updated requirements.txt to include PyPDF2 for PDF handling.