| import os | |
| import sys | |
| import subprocess | |
| if not os.path.exists("vector_db"): | |
| subprocess.run( | |
| [sys.executable, "app/ingest.py"], | |
| check=True | |
| ) | |
| sys.path.append("app") | |
| import streamlit_app |
| import os | |
| import sys | |
| import subprocess | |
| if not os.path.exists("vector_db"): | |
| subprocess.run( | |
| [sys.executable, "app/ingest.py"], | |
| check=True | |
| ) | |
| sys.path.append("app") | |
| import streamlit_app |