This commit is contained in:
lllyasviel
2023-10-12 04:23:10 -07:00
committed by GitHub
parent 4c867c1b8b
commit e61aac34ca
147 changed files with 523 additions and 642 deletions
+9 -9
View File
@@ -1,15 +1,15 @@
from comfy.options import enable_args_parsing
from fcbh.options import enable_args_parsing
enable_args_parsing(False)
import comfy.cli_args as comfy_cli
import fcbh.cli_args as fcbh_cli
comfy_cli.parser.add_argument("--share", action='store_true', help="Set whether to share on Gradio.")
fcbh_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
fcbh_cli.args = fcbh_cli.parser.parse_args()
fcbh_cli.args.disable_cuda_malloc = True
fcbh_cli.args.auto_launch = True
if getattr(comfy_cli.args, 'port', 8188) == 8188:
comfy_cli.args.port = None
if getattr(fcbh_cli.args, 'port', 8188) == 8188:
fcbh_cli.args.port = None
args = comfy_cli.args
args = fcbh_cli.args