File size: 961 Bytes
d1a5021
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import os
from chromadb.config import Settings

# to store all the generated files (*.pdf, *pptx, *webm, *mp3)
OUTDIR="out"

# path extra out files
OUTEXTRA="out/extra"

# yt video nameformat and loacation 
YT_DEST=f"{OUTEXTRA}/vid-"

# name for genrated pptx
PPTX_DEST = f"{OUTDIR}/out.pptx"

# name for generated markdown summary file
MD_DEST = f"{OUTEXTRA}/summary.md"

# name for generated png files 
PNG_DEST = f"{OUTEXTRA}"

# name for generated ppt
PPT_DEST = f"{OUTDIR}/out.ppt"
 
## MARP CONFIGURATION
MARP_01 = {
    "theme": "uncover",
    "background": "",
    "class": "invert",
}

MARP_GAIA = {
    "theme": "gaia",
    "background": "",
    "class": "lead",
}

MARP_02 = {
    "theme": "marpit-theme",
    "background": "",
    "class": "",
}

# ChromaDB settings
EMBEDDINGS = "hkunlp/instructor-large"

# summarizer options
SUM_CHAIN_TYPE = "stuff"

YT_CHAPTER_ENDPOINT = "https://yt.lemnoslife.com/videos?part=chapters&id="
NO_CHAPTERS = False