refs #739: preserve Smilegate changes before repository layout migration
This commit is contained in:
27
poc4_active_source_20260714/apps/smilegate_demo/main.py
Normal file
27
poc4_active_source_20260714/apps/smilegate_demo/main.py
Normal file
@@ -0,0 +1,27 @@
|
||||
"""Minimal Smilegate Streamlit demo entrypoint.
|
||||
|
||||
This entrypoint intentionally wires only the blank presentation shell. Feature
|
||||
modules such as authentication, MCP querying, and history are added separately
|
||||
after each review.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[2]
|
||||
if str(ROOT) not in sys.path:
|
||||
sys.path.insert(0, str(ROOT))
|
||||
|
||||
import streamlit as st
|
||||
|
||||
from src.smilegate_demo.ui.shell import render_blank_shell
|
||||
|
||||
|
||||
def main() -> None:
|
||||
render_blank_shell(st)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user