dmMaze / BallonsTranslator

深度学习辅助漫画翻译工具, 支持一键机翻和简单的图像/文本编辑 | Yet another computer-aided comic/manga translation tool powered by deeplearning
GNU General Public License v3.0
2.71k stars 184 forks source link

Update requirements.txt #399

Closed hyrulelinks closed 7 months ago

hyrulelinks commented 7 months ago

I am not clear about the specific principle, but by installing missing dependencies/submodules, they fixed some minor issues in the UI interface, the sidebar width so as to avoid deformation on MacOS. Not tested on Windows. @dmMaze

Before

录屏2024-03-12 11 45 06

After

录屏2024-03-12 12 56 57

mecab is a dependency package of fugashi, but this package has not been maintained since 2021 and is incompatible with Apple computers using M chips. Therefore, when running pip install -r requirements.txt, an error will occur and the installation of the fugashi package will be aborted due to the inability to install the dependency package mecab. Therefore, it is necessary to install mecab-python3 before installing the fugashi package, which is a fork of mecab that is still being maintained.