Implemented a new API endpoint to allow downloading model files from the server. The endpoint includes validation for folder and model inputs, checks for file existence, and ensures that the requested file is within allowed directories. Updated the README to document the new endpoint and bumped the version to 1.1.2 in pyproject.toml.
30 lines
836 B
TOML
30 lines
836 B
TOML
[tool.poetry]
|
|
name = "ComfyUI-api-tools"
|
|
version = "1.1.2"
|
|
description = "Add some extra endpoints to ComfyUI to manage / monitor remotely."
|
|
authors = ["brantje <brantje@gmail.com>"]
|
|
license = { text = "MIT License" }
|
|
readme = "README.md"
|
|
|
|
[tool.poetry.dependencies]
|
|
|
|
pynvml = "^11.4.0"
|
|
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[project]
|
|
name = "comfyui_api_tools" # Unique identifier for your node. Immutable after creation.
|
|
description = "Add some extra endpoints to ComfyUI to manage / monitor remotely."
|
|
version = "1.1.2" # Custom Node version. Must be semantically versioned.
|
|
dependencies = ['pynvml'] # Filled in from requirements.txt
|
|
|
|
[project.urls]
|
|
Repository = "https://github.com/brantje/ComfyUI-api-tools"
|
|
|
|
[tool.comfy]
|
|
PublisherId = "brantje"
|
|
DisplayName = "ComfyUI Api Tools"
|