File size: 495 Bytes
61411b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from __future__ import annotations

import sys
from pathlib import Path

# When running `streamlit run ai_business_automation_agent/app.py`, Python's sys.path
# may not include the project root, so absolute package imports can fail.
PROJECT_ROOT = Path(__file__).resolve().parent.parent
if str(PROJECT_ROOT) not in sys.path:
    sys.path.insert(0, str(PROJECT_ROOT))

from ai_business_automation_agent.ui.streamlit_dashboard import main


if __name__ == "__main__":
    main()