mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-30 16:20:17 +08:00
Fix linting issues
This commit is contained in:
parent
8ab28996fb
commit
dcba4847ab
@ -514,6 +514,7 @@ class AudioConcat:
|
|||||||
|
|
||||||
waveform_1, waveform_2, output_sample_rate = match_audio_sample_rates(waveform_1, sample_rate_1, waveform_2, sample_rate_2)
|
waveform_1, waveform_2, output_sample_rate = match_audio_sample_rates(waveform_1, sample_rate_1, waveform_2, sample_rate_2)
|
||||||
|
|
||||||
|
concatenated_audio: torch.Tensor = waveform_1
|
||||||
if direction == 'after':
|
if direction == 'after':
|
||||||
concatenated_audio = torch.cat((waveform_1, waveform_2), dim=2)
|
concatenated_audio = torch.cat((waveform_1, waveform_2), dim=2)
|
||||||
elif direction == 'before':
|
elif direction == 'before':
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user