From e161600ec90be97d529cf2cff885936a8017d385 Mon Sep 17 00:00:00 2001 From: ljleb Date: Wed, 16 Aug 2023 12:59:57 -0400 Subject: [PATCH] rename --- lib_comfyui/webui/callbacks.py | 2 +- lib_comfyui/webui/reverse_proxy.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib_comfyui/webui/callbacks.py b/lib_comfyui/webui/callbacks.py index 832eed8..37a5c48 100644 --- a/lib_comfyui/webui/callbacks.py +++ b/lib_comfyui/webui/callbacks.py @@ -30,7 +30,7 @@ def on_after_component(*args, **kwargs): @ipc.restrict_to_process('webui') def on_app_started(_gr_root, fast_api): comfyui_process.start() - reverse_proxy.register_comfyui(fast_api) + reverse_proxy.create_comfyui_proxy(fast_api) @ipc.restrict_to_process('webui') diff --git a/lib_comfyui/webui/reverse_proxy.py b/lib_comfyui/webui/reverse_proxy.py index 7e9df30..fb6f630 100644 --- a/lib_comfyui/webui/reverse_proxy.py +++ b/lib_comfyui/webui/reverse_proxy.py @@ -1,7 +1,7 @@ from lib_comfyui.webui import settings -def register_comfyui(fast_api): +def create_comfyui_proxy(fast_api): if not settings.is_reverse_proxy_enabled(): return