Translated to Chinese. Fixed the problem of incorrect versions of libraries such as torch. Added support for Python 3.12.2.
Translated to Chinese. Modified requirements.txt. Fixed the problem of incorrect versions of libraries such as torch. Added support for Python 3.12.2. However, there are still some issues, such as a buggy function for non-real-time face changes and error logs not being saved.
Summary by Sourcery
Translate the application to Chinese, fix library version issues, and add support for Python 3.12.2. Update the README and user interface to reflect these changes, enhancing accessibility and compatibility.
New Features:
- Add support for Python 3.12.2, allowing the application to run on the latest Python version.
Bug Fixes:
- Fix incorrect versions of libraries such as torch in the requirements, ensuring compatibility and stability.
Enhancements:
- Translate the user interface and documentation to Chinese, improving accessibility for Chinese-speaking users.
Documentation:
- Translate README.md to Chinese, providing installation and usage instructions in Chinese.
Reviewer's Guide by Sourcery
This pull request includes several significant changes to the Deep-Live-Cam project. The main updates are:
- Translation of the README.md file to Chinese, making the project more accessible to Chinese-speaking users.
- Modification of the requirements.txt file to fix issues with incorrect versions of libraries, particularly torch.
- Addition of support for Python 3.12.2.
- Updates to the UI text in modules/ui.py, translating button and label text to Chinese.
- Minor changes to run.py to set the Keras backend to TensorFlow.
The changes primarily focus on improving accessibility for Chinese users and updating the project's compatibility with newer Python versions and libraries. However, it's noted that there are still some unresolved issues, such as a buggy function for non-real-time face changes and error logs not being saved.
File-Level Changes
| Files | Changes |
|---|---|
README.md |
Translated README.md to Chinese, including installation instructions, usage guide, and disclaimers |
requirements.txt |
Updated requirements.txt to fix incorrect library versions and added support for Python 3.12.2 |
modules/ui.py |
Translated UI text in the application to Chinese |
run.py |
Added environment variable setting for Keras backend in the main run script |
Tips
- Trigger a new Sourcery review by commenting
@sourcery-ai reviewon the pull request. - Continue your discussion with Sourcery by replying directly to review comments.
- You can change your review settings at any time by accessing your dashboard:
- Enable or disable the Sourcery-generated pull request summary or reviewer's guide;
- Change the review language;
- You can always contact us if you have any questions or feedback.
Hey! I saw this pull request and wanted to just ask if you don't mind. I've added support for multiple languages in the fork I am working on, but I do not have Chinese (yet). I'm having some trouble trying to translate and actually using the characters in Python. All characters just end up as squares 🙄
But it would be really sweet if you would consider adding a Chinese template for me! You can just use the English template as a starting point in that case.