Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation on how to run via command line #42

Open
paulm opened this issue May 20, 2023 · 1 comment
Open

Add documentation on how to run via command line #42

paulm opened this issue May 20, 2023 · 1 comment

Comments

@paulm
Copy link

paulm commented May 20, 2023

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
Copy link
Owner

rbbrdckybk commented May 23, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants