mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-10 14:20:49 +08:00
fix windows standalone build
This commit is contained in:
parent
526f175302
commit
9376830295
@ -18,7 +18,7 @@ DEFAULT_VERSION_STRING = "comfyanonymous/ComfyUI@latest"
|
||||
|
||||
|
||||
def _create_parser() -> EnhancedConfigArgParser:
|
||||
parser = EnhancedConfigArgParser(default_config_files=['config.yaml', 'config.json'],
|
||||
parser = EnhancedConfigArgParser(default_config_files=['config.yaml', 'config.json', 'config.cfg', 'config.ini'],
|
||||
auto_env_var_prefix='COMFYUI_',
|
||||
args_for_setting_config_path=["-c", "--config"],
|
||||
add_env_var_help=True, add_config_file_help=True, add_help=True,
|
||||
|
||||
@ -1205,7 +1205,7 @@ class PromptServer(ExecutorToClientProgress):
|
||||
if verbose:
|
||||
logger.info(f"Server ready. To see the GUI go to: http://{address_print}:{port}")
|
||||
if call_on_start is not None:
|
||||
call_on_start(address, port)
|
||||
call_on_start("http", address, port)
|
||||
|
||||
def add_on_prompt_handler(self, handler):
|
||||
self.on_prompt_handlers.append(handler)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user