gate2까지 플로우 정리
This commit is contained in:
1 parent
53f308eac2
commit
5e4ff5f962
15 files changed
+755
-4
No files matched your search
@@ -20,6 +20,17 @@ MIN_SECONDS, MAX_SECONDS = 10, 30 # duration 허용 범위 하한이 10초
|
||||
SECONDS_MARGIN = 2
|
||||
|
||||
|
||||
# 나레이션을 VLM이 쓰지 않는 흐름(Playreel)은 스타일도 따로 안 나오므로 이 값을 쓴다.
|
||||
# 잔잔한 앰비언트는 광고에서 늘어진다.
|
||||
DEFAULT_BGM_STYLE = BgmStyle(
|
||||
style=("modern korean fusion gugak, gayageum and haegeum hooks over driving "
|
||||
"janggu percussion and punchy modern beat, bright festival energy, "
|
||||
"128 bpm, instrumental"),
|
||||
prompt=("Starts hard on beat one - no intro ramp. Bright festival energy, "
|
||||
"driving groove throughout, brief lift at two thirds, clean ending."),
|
||||
)
|
||||
|
||||
|
||||
def target_seconds(narration_total: float) -> int:
|
||||
return int(min(MAX_SECONDS, max(MIN_SECONDS, round(narration_total) + SECONDS_MARGIN)))
|
||||
|
||||
|
||||
Reference in new issue
Block a user