Files
manage/app.py
T

24 lines
553 B
Python

"""Convenience Streamlit entrypoint.
The real application lives in :mod:`media_library_viewer.app` under ``src/`` so
that the project can be packaged and reused by other frontends later. This file
keeps the simple development command working:
streamlit run app.py
"""
from __future__ import annotations
import sys
from pathlib import Path
SRC = Path(__file__).resolve().parent / "src"
if str(SRC) not in sys.path:
sys.path.insert(0, str(SRC))
from media_library_viewer.app import main # noqa: E402
if __name__ == "__main__":
main()