fixes
This commit is contained in:
+30
-3
@@ -74,6 +74,30 @@ model = "deepseek-v4-pro"
|
||||
# Lower values improve consistency.
|
||||
temperature = 0.2
|
||||
|
||||
[llm_prompt]
|
||||
# Customize these prompts freely. The backend appends the required JSON response schema.
|
||||
system = """
|
||||
You are an expert editor for Mandarin VTuber livestream clips.
|
||||
Identify moments that work as entertaining standalone clips for Bilibili viewers.
|
||||
Prioritize strong reactions, jokes, surprising turns, memorable conversations, and moments with a clear payoff.
|
||||
Avoid repetitive stretches, dead air, and segments that require too much missing context.
|
||||
Return only the requested JSON object.
|
||||
"""
|
||||
|
||||
# Available placeholders:
|
||||
# {max_candidates}, {min_clip_seconds}, {max_clip_seconds},
|
||||
# {chunk_start_sec}, {chunk_end_sec}, {transcript}
|
||||
user = """
|
||||
Review the timestamped livestream transcript below.
|
||||
Choose up to {max_candidates} compelling clip candidates.
|
||||
Each clip must be between {min_clip_seconds} and {max_clip_seconds} seconds long.
|
||||
Use absolute stream timestamps and give each candidate a concise Chinese title and summary.
|
||||
|
||||
Transcript range: {chunk_start_sec}-{chunk_end_sec}
|
||||
Transcript:
|
||||
{transcript}
|
||||
"""
|
||||
|
||||
[defaults]
|
||||
# Initial automatic pipeline settings. These can later be changed through the API/UI.
|
||||
suggest_enabled = true
|
||||
@@ -91,7 +115,10 @@ min_seconds = 30
|
||||
max_seconds = 360
|
||||
|
||||
# Transcript seconds per DeepSeek request. Larger chunks use more tokens.
|
||||
transcript_chunk_seconds = 900
|
||||
transcript_chunk_seconds = 14400
|
||||
|
||||
# Maximum number of suggestions kept across the entire transcript.
|
||||
max_candidates_total = 20
|
||||
|
||||
[thumbnail]
|
||||
# Generate thumbnails during clip render.
|
||||
@@ -104,8 +131,8 @@ provider = "frame_overlay"
|
||||
width = 1920
|
||||
height = 1080
|
||||
|
||||
# Optional transparent PNG of the VTuber character.
|
||||
character_overlay_path = ""
|
||||
# Directory of transparent VTuber character PNGs. One is selected randomly per thumbnail.
|
||||
character_overlay_dir = "/data/evanescere/assets/"
|
||||
|
||||
# Character height as a fraction of thumbnail height.
|
||||
character_scale = 0.42
|
||||
|
||||
Reference in New Issue
Block a user