Update README

This commit is contained in:
doctorpangloss 2024-02-07 16:02:17 -08:00
parent 7cb1c5a2f7
commit 0313904119
2 changed files with 6 additions and 2 deletions

View File

@ -141,10 +141,11 @@ On macOS, install exactly Python 3.11 using `brew`, which you can download from
```shell
comfyui
```
To generate python OpenAPI models:
This will start ComfyUI in the current working directory of your terminal. This should have your `models/` directory. If your models are located somewhere else, such as `C:/some directory/models`, do:
```shell
comfyui-openapi-gen
comfyui --cwd="C:/some directory/"
```
You can see all the command line options with hints using `comfyui --help`.
## Manual Install (Windows, Linux, macOS) For Development

View File

@ -121,6 +121,9 @@ async def main():
prompt = Prompt.validate(prompt_dict)
# Your prompt is ready to be processed. You should start your ComfyUI server; or, specify a remote URL for it.
# If you want to run your own ComfyUI server, follow the **Manual Install (Windows, Linux, macOS)** instructions.
# Then, as the README specifies, `cd` into the directory that contains your `models/` folder and run:
# comfyui --listen
# Let's create the client we will use to access it:
from comfy.client.aio_client import AsyncRemoteComfyClient
client = AsyncRemoteComfyClient(server_address="http://localhost:8188")