Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'AudioData' object is not subscriptable #39

Open
wjwzy opened this issue Aug 1, 2024 · 3 comments
Open

TypeError: 'AudioData' object is not subscriptable #39

wjwzy opened this issue Aug 1, 2024 · 3 comments

Comments

@wjwzy
Copy link

wjwzy commented Aug 1, 2024

ComfyUI-AudioScheduler节点版本更新过吗?ComfyUI_EchoMimic节点的处理方式更新过了?
2024-08-01 10-14-23 的屏幕截图
ComfyUI-AudioScheduler中的AudioData这个类返回的数据不是字典形式啊,为啥要torchaudio.save(audio_file, audio["waveform"].squeeze(0), sample_rate=audio["sample_rate"])这样读取,是我版本问题吗
2024-08-01 10-15-08 的屏幕截图
2024-08-01 10-15-20 的屏幕截图

@smthemex
Copy link
Owner

smthemex commented Aug 1, 2024

你的版本问题,comfyUI目前的audio输出和输入都是字典了

@wjwzy
Copy link
Author

wjwzy commented Aug 1, 2024

你的版本问题,comfyUI目前的音频输出和输入都是字典了

ComfyUI-AudioScheduler这个节点么?我这边安装是clone main分支的源码放到custom_nodes中的,是这样安装吗

@smthemex
Copy link
Owner

smthemex commented Aug 1, 2024

不是,要更新comfyUI本体。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants