Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修改段落间距,查看代码后找到了方法 #435

Open
JinTTTT opened this issue Nov 30, 2024 · 2 comments
Open

修改段落间距,查看代码后找到了方法 #435

JinTTTT opened this issue Nov 30, 2024 · 2 comments

Comments

@JinTTTT
Copy link

JinTTTT commented Nov 30, 2024

No description provided.

@JinTTTT
Copy link
Author

JinTTTT commented Nov 30, 2024

  1. 使用 --translation_style
    python3 make_book.py --book_name test_books/animal_farm.epub --openai_key YOUR_API_KEY --translation_style "margin-bottom: 2em; margin-top: 2em;"
  2. 进入 epub_loader.py 57 行:
    修改 self.translation_style = “”self.translation_style = "margin-bottom: 1em; margin-top: 1em;"

@yihong0618
Copy link
Owner

可以!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants