rbbrdckybk / dream-factory

Multi-threaded GUI manager for mass creation of AI-generated art with support for multiple GPUs.
MIT License
495 stars 57 forks source link

Add documentation on how to run via command line #42

Open paulm opened 1 year ago

paulm commented 1 year ago

I see in the readme that this is possible, but I don't know where to begin. Any tips on how to run Dream Factory via command line?

rbbrdckybk commented 1 year ago

Ah, thanks for the reminder - I'll have to add instructions to the readme at some point. For now, you can operate in command-line mode by making this change to your config.txt file:

WEBSERVER_USE = no

And then you can start Dream Factory with:

python dream-factory.py --prompt_file prompts/example-standard.prompts

Replace 'prompts/example-standard.prompts' with the path/filename of the .prompts file you want to run.

If you're using custom models, you may see some warnings that they're not recognized upon startup (DF is attempting to look them up before it has a list of valid models - will fix in a future release), but they should load correctly regardless.