mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
@@ -0,0 +1,12 @@
|
||||
from comfy.options import enable_args_parsing
|
||||
enable_args_parsing(False)
|
||||
import comfy.cli_args as comfy_cli
|
||||
|
||||
|
||||
comfy_cli.parser.add_argument("--share", action='store_true', help="Set whether to share on Gradio.")
|
||||
|
||||
comfy_cli.args = comfy_cli.parser.parse_args()
|
||||
comfy_cli.args.disable_cuda_malloc = True
|
||||
comfy_cli.args.auto_launch = True
|
||||
|
||||
args = comfy_cli.args
|
||||
Reference in New Issue
Block a user