Zhou Zhiqiang
37808e044f
chore: setup default backoff for tranlate method ( #387 )
...
* chore: setup default backoff for tranlate method
Signed-off-by: Zhou Zhiqiang <im@strrl.dev>
2024-02-29 10:08:59 +08:00
yihong0618
79866d9548
fix : #381
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-02-02 22:41:25 +08:00
yihong0618
1c88611f09
fix: try to fix #381
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-02-02 21:04:39 +08:00
yihong0618
e5bfee9cec
fix : #359
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-01-03 22:35:17 +08:00
astromaddie
cd56b1e0ab
feature: GPT-4 support ( #262 )
...
* feat: add gpt4 support
* Update prompt_template_sample.json
* fix: cleaned up formatting for quotes
* feature: added context functionality (--use_context) for GPT4 model, which accumulates a running paragraph giving historical context to the current passage
* fix: propagated context_flag argument to txt_loader and srt_loader
* Updated Readme to include GPT4 parameters
* Removed debug output
* fix: lint
---------
Co-authored-by: yihong <zouzou0208@gmail.com>
2023-05-11 21:57:32 +08:00
hleft
a0c999a2e6
support single_translate in epub ( #237 )
...
* support no_bilingual
* use single_translate instead no_bilingual
2023-04-09 21:20:41 +08:00
h
1e7c8f9ce4
fix prettify, nest child
...
prettify().encode() cause <table> insert newline, cause style change
--translate-tags "p,li" , If p and li nest each other, there will be a bug
2023-03-22 22:58:23 +08:00
h
5bab5addb5
clean helper and shorter link in --accumulated_num
2023-03-19 21:30:34 +08:00
hleft
1d680a1ccf
support --translation_style ( #185 )
...
* support translation_style
* clean code
2023-03-19 21:20:30 +08:00
h
79b2d67cc9
Add more cases that don't require translation
2023-03-18 19:25:36 +08:00
yihong
529749e055
fix: code format ( #181 )
...
* fix: code format
* fix: lint
2023-03-17 22:41:12 +08:00