promptslab/Promptify

with open(bpe_filename, "r", encoding="utf-8") as f: TypeError: expected str, bytes or os.PathLike object, not NoneType

badalgupta19 opened this issue · 2 comments

Facing this error, from the opensai_model.py file. This error sometimes comes and sometimes everything runs smooth

It happens when you usually pass in a None type to a function when it's trying to read a file. Maybe bpe_filename is not always defined, you forgot to run the cell maybe. These are my initial thoughts though.

I think my PR here resolves this issue