mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-05 19:15:34 +00:00
fix: interval for geminipro
This commit is contained in:
parent
dca26d992e
commit
9d807ba23a
@ -487,9 +487,9 @@ So you are close to reaching the limit. You have to choose your own value, there
|
||||
if options.batch_use_flag:
|
||||
e.batch_use_flag = options.batch_use_flag
|
||||
|
||||
if options.model in ("gemini", "geminipro"):
|
||||
e.translate_model.set_interval(options.interval)
|
||||
if options.model == "gemini":
|
||||
if options.interval:
|
||||
e.translate_model.set_interval(options.interval)
|
||||
if options.model_list:
|
||||
e.translate_model.set_model_list(options.model_list.split(","))
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user