mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-26 14:20:27 +08:00
Update README
This commit is contained in:
parent
7cb1c5a2f7
commit
0313904119
@ -141,10 +141,11 @@ On macOS, install exactly Python 3.11 using `brew`, which you can download from
|
|||||||
```shell
|
```shell
|
||||||
comfyui
|
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
|
```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
|
## Manual Install (Windows, Linux, macOS) For Development
|
||||||
|
|
||||||
|
|||||||
@ -121,6 +121,9 @@ async def main():
|
|||||||
prompt = Prompt.validate(prompt_dict)
|
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.
|
# 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:
|
# Let's create the client we will use to access it:
|
||||||
from comfy.client.aio_client import AsyncRemoteComfyClient
|
from comfy.client.aio_client import AsyncRemoteComfyClient
|
||||||
client = AsyncRemoteComfyClient(server_address="http://localhost:8188")
|
client = AsyncRemoteComfyClient(server_address="http://localhost:8188")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user