Open 0x78f1935 opened 3 weeks ago
This pull request introduces several significant changes to the project, primarily focusing on improving the development environment, code quality, and dependency management. The main changes include:
Files | Changes |
---|---|
README.md pyproject.toml |
Introduced pyproject.toml for managing project dependencies and added instructions for compiling requirements |
modules/core.py modules/ui.py modules/utilities.py modules/processors/frame/core.py modules/processors/frame/face_enhancer.py modules/processors/frame/face_swapper.py |
Refactored code to improve readability, including breaking long lines and improving function signatures |
README.md |
Updated README.md with new setup instructions for virtual environment and dependency management |
modules/core.py modules/ui.py modules/utilities.py modules/processors/frame/core.py modules/processors/frame/face_enhancer.py modules/processors/frame/face_swapper.py modules/globals.py |
Added Flake8 linter and fixed linting violations across the project |
modules/processors/frame/face_enhancer.py modules/processors/frame/face_swapper.py |
Adjusted import statements and file paths for consistency across modules |
modules/ui.py modules/globals.py |
Removed commented-out code and unused variables |
I don't wanna talk anymore to chatGPT (sourcery-ai). If there are issues, please let me know.
Description
I was using a different version of Python (3.12.2) but within the requirements.txt various libraries where hardcoded.
Type of change
flake8
to review violations)How Has This Been Tested?
This has not been fully tested. It seems to work on my machine with the exception that my face gets a black square. I'm suspecting ffmpeg is the issue here. In addition I don't have darwin or arm64 hardware to my disposal.
Checklist:
Summary by Sourcery
Introduce pyproject.toml for dynamic dependency management, update documentation for environment setup, and enhance code quality with linting and refactoring.
New Features:
Enhancements:
Documentation: