`--resume` would raise error: `'NoneType' object has no attribute 'replace' you can resume it next time`
imWildCat opened this issue · comments
Mike Chong commented
Hello, the resume functionality seems to be broken.
I tried it like
bbook_maker --openai_key xxx --api_base 'https://xxx.openai.azure.com/' --deployment_id 'gpt35' --book_name xxx --resume
it just returned
'NoneType' object has no attribute 'replace'
you can resume it next time
there's no call stack shown
yihong commented
@imWildCat try to fix it, not sure if its this problem, reopen it
please try to use the latest package(or code)
Mike Chong commented
thank you!
using the latest version, it now shows:
0%| | 0/4728 [00:00<?, ?it/s]
NoneType takes no arguments
you can resume it next time
yihong commented
seems something is wrong will take a look tonight or romorrow and revert the latest commit
yihong commented
@imWildCat seems fixed this time
Mike Chong commented
I can confirm the fix. thanks for your quick action!