From 7497857b7156fba2bfaf3ee18cc6994667b428fe Mon Sep 17 00:00:00 2001 From: Li Xin Date: Sat, 19 Apr 2025 17:52:23 +0800 Subject: [PATCH] chore: add copyright --- src/podcast/graph/audio_mixer_node.py | 3 +++ src/podcast/graph/builder.py | 3 +++ src/podcast/graph/script_writer_node.py | 3 +++ src/podcast/graph/state.py | 3 +++ src/podcast/graph/tts_node.py | 3 +++ src/podcast/types.py | 3 +++ 6 files changed, 18 insertions(+) diff --git a/src/podcast/graph/audio_mixer_node.py b/src/podcast/graph/audio_mixer_node.py index c08ca632b..a7570f6ea 100644 --- a/src/podcast/graph/audio_mixer_node.py +++ b/src/podcast/graph/audio_mixer_node.py @@ -1,3 +1,6 @@ +# Copyright (c) 2025 Bytedance Ltd. and/or its affiliates +# SPDX-License-Identifier: MIT + import logging from src.podcast.graph.state import PodcastState diff --git a/src/podcast/graph/builder.py b/src/podcast/graph/builder.py index 89142151a..55c149821 100644 --- a/src/podcast/graph/builder.py +++ b/src/podcast/graph/builder.py @@ -1,3 +1,6 @@ +# Copyright (c) 2025 Bytedance Ltd. and/or its affiliates +# SPDX-License-Identifier: MIT + from langgraph.graph import END, START, StateGraph from .audio_mixer_node import audio_mixer_node diff --git a/src/podcast/graph/script_writer_node.py b/src/podcast/graph/script_writer_node.py index c4ffa86ec..fdbc741f8 100644 --- a/src/podcast/graph/script_writer_node.py +++ b/src/podcast/graph/script_writer_node.py @@ -1,3 +1,6 @@ +# Copyright (c) 2025 Bytedance Ltd. and/or its affiliates +# SPDX-License-Identifier: MIT + import logging from langchain.schema import HumanMessage, SystemMessage diff --git a/src/podcast/graph/state.py b/src/podcast/graph/state.py index 2f8da05c8..07f27c700 100644 --- a/src/podcast/graph/state.py +++ b/src/podcast/graph/state.py @@ -1,3 +1,6 @@ +# Copyright (c) 2025 Bytedance Ltd. and/or its affiliates +# SPDX-License-Identifier: MIT + from typing import Optional from langgraph.graph import MessagesState diff --git a/src/podcast/graph/tts_node.py b/src/podcast/graph/tts_node.py index 6be784b9a..056916cc9 100644 --- a/src/podcast/graph/tts_node.py +++ b/src/podcast/graph/tts_node.py @@ -1,3 +1,6 @@ +# Copyright (c) 2025 Bytedance Ltd. and/or its affiliates +# SPDX-License-Identifier: MIT + import base64 import logging import os diff --git a/src/podcast/types.py b/src/podcast/types.py index 34a688781..4e0462727 100644 --- a/src/podcast/types.py +++ b/src/podcast/types.py @@ -1,3 +1,6 @@ +# Copyright (c) 2025 Bytedance Ltd. and/or its affiliates +# SPDX-License-Identifier: MIT + from typing import Literal from pydantic import BaseModel, Field