diff --git a/.github/workflows/make_test_ebook.yaml b/.github/workflows/make_test_ebook.yaml index 6c77353..22a03d6 100644 --- a/.github/workflows/make_test_ebook.yaml +++ b/.github/workflows/make_test_ebook.yaml @@ -50,7 +50,7 @@ jobs: - name: make caiyun translator test if: env.BBM_CAIYUN_API_KEY != null run: | - python3 make_book.py --book_name "test_books/the_little_prince.txt" --test --batch_size 30 --test_num 20 --model caiyun + python3 make_book.py --book_name "test_books/the_little_prince.txt" --test --batch_size 30 --test_num 100 --model caiyun - name: make deepl translator test if: env.BBM_CAIYUN_API_KEY != null diff --git a/setup.py b/setup.py index 6ff077f..f819e4d 100644 --- a/setup.py +++ b/setup.py @@ -4,14 +4,14 @@ from setuptools import find_packages, setup setup( name="bbook_maker", description="The bilingual_book_maker is an AI translation tool that uses ChatGPT to assist users in creating multi-language versions of epub/txt files and books.", - version="0.2.0", + version="0.3.0", license="MIT", author="yihong0618", author_email="zouzou0208@gmail.com", packages=find_packages(), url="https://github.com/yihong0618/bilingual_book_maker", python_requires=">=3.7", - install_requires=["bs4", "openai", "requests", "ebooklib", "rich", "tqdm"], + install_requires=["bs4", "openai", "requests", "ebooklib", "rich", "tqdm", "tiktoken"], classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License",