Closed StrumykTomira closed 1 year ago
I just change it to c:/content/cover.png I not using stability just put some random image there
look here: #3
This is similar, but not the same issue. There is no picture created on my Stability account (and then no file in directory). But i'll check it with other path.
ya can try for local env
import os
absolute_path = os.path.dirname(__file__)
relative_path = "content/cover.png"
full_path = os.path.join(absolute_path, relative_path)
Thank You @MartinAbilev I'm trying now with 'content/cover.png' because 'prompts/write_chapter...' is working OK.
Writing chapter 3... Output for prompt "write_chapter_1770" has been written to prompts/write_chapter_1770.txt
I have also reduced the costs of this tests from 0.25 USD to 0.02 USD :D
IT WORKS!!1111oneone :D Thank You @snip3r009 and @MartinAbilev
Now i can optimise prompts and the rest of the code for better books. I'm closing this thread.
This is my first use of Jupyter :) I'm using Jupyter locally, on my Windows.
I've received such error:
Of course - i've put my Stability Key in stability_api_key variable, and make a "content" directory before run (in the same directory as the script AND one level higher). There are no pictures In my Stability history also (and i can manually create pictures there).