mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-04-25 11:18:22 +00:00
17 lines
466 B
Python
17 lines
466 B
Python
# Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
import logging
|
|
|
|
from src.podcast.graph.state import PodcastState
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
def audio_mixer_node(state: PodcastState):
|
|
logger.info("Mixing audio chunks for podcast...")
|
|
audio_chunks = state["audio_chunks"]
|
|
combined_audio = b"".join(audio_chunks)
|
|
logger.info("The podcast audio is now ready.")
|
|
return {"output": combined_audio}
|