mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-04-30 04:12:37 +08:00
Merge upstream/master, keep local README.md
This commit is contained in:
commit
581c9b525f
@ -9,6 +9,7 @@ import comfy.utils
|
|||||||
import node_helpers
|
import node_helpers
|
||||||
from typing_extensions import override
|
from typing_extensions import override
|
||||||
from comfy_api.latest import ComfyExtension, io
|
from comfy_api.latest import ComfyExtension, io
|
||||||
|
import re
|
||||||
|
|
||||||
|
|
||||||
class BasicScheduler(io.ComfyNode):
|
class BasicScheduler(io.ComfyNode):
|
||||||
@ -1013,6 +1014,25 @@ class AddNoise(io.ComfyNode):
|
|||||||
|
|
||||||
add_noise = execute
|
add_noise = execute
|
||||||
|
|
||||||
|
class ManualSigmas(io.ComfyNode):
|
||||||
|
@classmethod
|
||||||
|
def define_schema(cls):
|
||||||
|
return io.Schema(
|
||||||
|
node_id="ManualSigmas",
|
||||||
|
category="_for_testing/custom_sampling",
|
||||||
|
is_experimental=True,
|
||||||
|
inputs=[
|
||||||
|
io.String.Input("sigmas", default="1, 0.5", multiline=False)
|
||||||
|
],
|
||||||
|
outputs=[io.Sigmas.Output()]
|
||||||
|
)
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def execute(cls, sigmas) -> io.NodeOutput:
|
||||||
|
sigmas = re.findall(r"[-+]?(?:\d*\.*\d+)", sigmas)
|
||||||
|
sigmas = [float(i) for i in sigmas]
|
||||||
|
sigmas = torch.FloatTensor(sigmas)
|
||||||
|
return io.NodeOutput(sigmas)
|
||||||
|
|
||||||
class CustomSamplersExtension(ComfyExtension):
|
class CustomSamplersExtension(ComfyExtension):
|
||||||
@override
|
@override
|
||||||
@ -1052,6 +1072,7 @@ class CustomSamplersExtension(ComfyExtension):
|
|||||||
DisableNoise,
|
DisableNoise,
|
||||||
AddNoise,
|
AddNoise,
|
||||||
SamplerCustomAdvanced,
|
SamplerCustomAdvanced,
|
||||||
|
ManualSigmas,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
# This file is automatically generated by the build process when version is
|
# This file is automatically generated by the build process when version is
|
||||||
# updated in pyproject.toml.
|
# updated in pyproject.toml.
|
||||||
__version__ = "0.5.1"
|
__version__ = "0.6.0"
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "ComfyUI"
|
name = "ComfyUI"
|
||||||
version = "0.5.1"
|
version = "0.6.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = { file = "LICENSE" }
|
license = { file = "LICENSE" }
|
||||||
requires-python = ">=3.9"
|
requires-python = ">=3.9"
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
comfyui-frontend-package==1.34.9
|
comfyui-frontend-package==1.35.9
|
||||||
comfyui-workflow-templates==0.7.62
|
comfyui-workflow-templates==0.7.64
|
||||||
comfyui-embedded-docs==0.3.1
|
comfyui-embedded-docs==0.3.1
|
||||||
torch
|
torch
|
||||||
torchsde
|
torchsde
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user