Spaces:
Paused
Paused
Download comfy_api/latest/generated/ComfyAPISyncStub.pyi from raubatz/reactorswap-CPU: direct link, hf CLI and curl.
- Browser
- Download file 867 Bytes
-
https://huggingface.co/spaces/raubatz/reactorswap-CPU/resolve/main/comfy_api/latest/generated/ComfyAPISyncStub.pyi
- Command line
-
hf download hf://spaces/raubatz/reactorswap-CPU/comfy_api/latest/generated/ComfyAPISyncStub.pyi
-
curl -L -o ComfyAPISyncStub.pyi https://huggingface.co/spaces/raubatz/reactorswap-CPU/resolve/main/comfy_api/latest/generated/ComfyAPISyncStub.pyi
867 Bytes
| from typing import Any, Dict, List, Optional, Tuple, Union, Set, Sequence, cast, NamedTuple | |
| from comfy_api.latest import ComfyAPI_latest | |
| from PIL.Image import Image | |
| from torch import Tensor | |
| class ComfyAPISyncStub: | |
| def __init__(self) -> None: ... | |
| class ExecutionSync: | |
| def __init__(self) -> None: ... | |
| """ | |
| Update the progress bar displayed in the ComfyUI interface. | |
| This function allows custom nodes and API calls to report their progress | |
| back to the user interface, providing visual feedback during long operations. | |
| Migration from previous API: comfy.utils.PROGRESS_BAR_HOOK | |
| """ | |
| def set_progress(self, value: float, max_value: float, node_id: Union[str, None] = None, preview_image: Union[Image, Tensor, None] = None, ignore_size_limit: bool = False) -> None: ... | |
| execution: ExecutionSync | |