kneifftools / app.py
kneiff's picture
chore(history)!: publish anonymous repository root
2857cf3
Raw
History Blame Contribute Delete
408 Bytes
"""Hugging Face Space entrypoint for the Kneiff caption workbench."""
from __future__ import annotations
from pathlib import Path
import sys
ROOT = Path(__file__).resolve().parent
SRC_ROOT = ROOT / "src"
if str(SRC_ROOT) not in sys.path:
sys.path.insert(0, str(SRC_ROOT))
from kneiff.app.workbench import build_demo # noqa: E402
demo = build_demo()
if __name__ == "__main__":
demo.launch()