kotaemon/libs/ktem/ktem/assets/__init__.py
Quang (Albert) 7762190d05
feat: add local theme (#288)
* feat: add local theme instead of from hub

* chore: add credit

* fix: typo
2024-09-17 19:03:39 +07:00

13 lines
382 B
Python

from pathlib import Path
from decouple import config
from .theme import Kotaemon as KotaemonTheme
PDFJS_VERSION_DIST: str = config("PDFJS_VERSION_DIST", "pdfjs-4.0.379-dist")
PDFJS_PREBUILT_DIR: Path = config(
"PDFJS_PREBUILT_DIR", Path(__file__).parent / "prebuilt" / PDFJS_VERSION_DIST
)
__all__ = ["KotaemonTheme", "PDFJS_VERSION_DIST", "PDFJS_PREBUILT_DIR"]