Open injaan opened 1 year ago
Add encoding='utf-8' when writing and reading prompt.txt like this:
with open(f"accounts/{project_name}/prompt.txt", "w", encoding='utf-8') as f:
Find all occurences (3 in main_job() as I remember.)
It crashes because of emojis used in prompts. 'utf-8' solved the problem for me.
first image posted on Instagram but prompt not saved into text file and posted image not moved to archive. gives following message. OS: windows 10