dream-factory icon indicating copy to clipboard operation
dream-factory copied to clipboard

Add documentation on how to run via command line

Open paulm opened this issue 1 year ago • 1 comments

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?

paulm avatar May 20 '23 18:05 paulm

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.

rbbrdckybk avatar May 23 '23 17:05 rbbrdckybk