-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
31 lines (24 loc) · 977 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Single video ID
VIDEO_ID = 'AaTRHFaaPG8'
# Multiple video IDs
VIDEO_IDS = ['abc123', 'def456', 'ghi789']
# Channel ID
CHANNEL_ID = 'UCQNsB8n2QhRzjdfjyZ_2S_g'
PLAYLIST_ID= 'PLAzuPFpwy9ZLIG5hDwjGyccJr6FpTsrEr'
PLAYLIST_ID= 'PL6-yiYT82epjJiRbrsEIak-Z-vKC94ahK'
# File paths
TRANSCRIPT_FILES_DIR = 'transcripts' # Path where transcript files will be saved
SUMMARY_FILES_DIR = 'summaries' # Path where summary files will be saved
AUDIO_FILES_DIR = 'audio' # Path where audio files will be saved
TEMPLATES_DIR = 'templates' # Path where template files are located
TRANSCRIPT_PARTS_DIR ='temp/transcript_parts'
GPT_SUMMARIES_PARTS_DIR="summaries_gpt/parts"
GPT_SUMMARIES_COMBINED_DIR="summaries_gpt/combined"
# Template file names
TRANSCRIPT_TEMPLATE_FILE = 'transcript_template.md'
SUMMARY_TEMPLATE_FILE = 'summary_template.md'
# Language of transcript to fetch
LANGUAGE_TO_FETCH='en'
# OpenAI model to use
OPENAI_MODEL = "gpt-4o-mini-2024-07-18"
CHARACTER_PER_TOKEN = 4