Skip to content
GitLab
菜单
为什么选择 GitLab
定价
联系销售
探索
为什么选择 GitLab
定价
联系销售
探索
登录
获取免费试用
主导航
搜索或转到…
项目
C
ComfyUI
管理
动态
成员
代码
仓库
分支
提交
标签
仓库图
比较修订版本
锁定的文件
部署
模型注册表
分析
模型实验
帮助
帮助
支持
GitLab 文档
比较 GitLab 各版本
社区论坛
为极狐GitLab 提交贡献
提交反馈
隐私声明
快捷键
?
新增功能
4
代码片段
群组
项目
Show more breadcrumbs
hanamizuki
ComfyUI
提交
a80bc822
提交
a80bc822
编辑于
1星期前
作者:
comfyanonymous
浏览文件
操作
下载
补丁
差异文件
Partially revert last commit.
上级
872780d2
No related branches found
分支 包含提交
No related tags found
标签 包含提交
无相关合并请求
变更
1
隐藏空白变更内容
行内
左右并排
显示
1 个更改的文件
comfy_extras/nodes_lt.py
+5
-0
5 个添加, 0 个删除
comfy_extras/nodes_lt.py
有
5 个添加
和
0 个删除
comfy_extras/nodes_lt.py
+
5
−
0
浏览文件 @
a80bc822
...
...
@@ -194,6 +194,11 @@ class LTXVAddGuide:
frame_idx
,
latent_idx
=
self
.
get_latent_index
(
positive
,
latent_length
,
frame_idx
,
scale_factors
)
assert
latent_idx
+
t
.
shape
[
2
]
<=
latent_length
,
"
Conditioning frames exceed the length of the latent sequence.
"
if
frame_idx
==
0
:
latent_image
,
noise_mask
=
self
.
replace_latent_frames
(
latent_image
,
noise_mask
,
t
,
latent_idx
,
strength
)
return
(
positive
,
negative
,
{
"
samples
"
:
latent_image
,
"
noise_mask
"
:
noise_mask
},)
num_prefix_frames
=
min
(
self
.
_num_prefix_frames
,
t
.
shape
[
2
])
positive
,
negative
,
latent_image
,
noise_mask
=
self
.
append_keyframe
(
...
...
This diff is collapsed.
点击以展开。
秋葉杏
@Akegarasu
mentioned in commit
76739c23
·
1星期前
mentioned in commit
76739c23
mentioned in commit 76739c23c3c7e3617fb76bb25f7efc1ebba949de
展开或隐藏提交列表
预览
0%
加载中
请重试
或
添加新附件
.
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
保存评论
取消
想要评论请
注册
或
登录