extensions / adetailer /sd_webui /script_callbacks.py
toto10's picture
Upload folder using huggingface_hub (#1)
34097e9
raw
history blame
323 Bytes
from __future__ import annotations
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from typing import Callable
def on_ui_settings(callback: Callable):
pass
def on_after_component(callback: Callable):
pass
else:
from modules.script_callbacks import on_after_component, on_ui_settings