bilingual_book_maker icon indicating copy to clipboard operation
bilingual_book_maker copied to clipboard

module 'openai' has no attribute 'ChatCompletion' will sleep 60 seconds

Open jjustwin opened this issue 1 year ago • 1 comments

Hi, there is a mistake after execute : python3 make_book.py --book_name test_books/the_little_prince.txt --openai_key xxxxxx --test --language zh-hans

jjustwin avatar Mar 14 '23 11:03 jjustwin

pip3 install -U openai

yihong0618 avatar Mar 14 '23 11:03 yihong0618

pip3 install -U openai

并不能有效的解决上面的出现的问题。

taohuajianxian avatar Mar 16 '23 12:03 taohuajianxian

@taohuajianxian 目前 overload 了。。。官方模型 limit. image

yihong0618 avatar Mar 16 '23 13:03 yihong0618

你可以使用 --model gpt3

yihong0618 avatar Mar 16 '23 13:03 yihong0618

你可以使用 --model gpt3

成功了,感谢大佬!

taohuajianxian avatar Mar 16 '23 17:03 taohuajianxian