mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-20 22:07:20 +08:00
11 lines
211 B
Python
11 lines
211 B
Python
import os
|
|
|
|
COMFY_PORT = 8188
|
|
LOCALHOST = '0.0.0.0'
|
|
OUTPUT_DIR = '/opt/ml/code/efs'
|
|
|
|
|
|
cmd = "python main.py --listen {} --port {} --output-directory {}".format(LOCALHOST, COMFY_PORT, OUTPUT_DIR)
|
|
os.system(cmd)
|
|
|