| import streamlit as st | |
| from controller import Controller | |
| from view.app_header import app_header | |
| from view.app_sidebar import app_sidebar | |
| from view.app_chat import app_chat | |
| ## Streamlit configuration (holds the session and session history as well) | |
| st.set_page_config( | |
| page_title="Custom Transformers can realy do anything...", | |
| page_icon="π" | |
| ) | |
| # Create an instance of Controller with agentConfig ## holds all data, config and settings | |
| controller = Controller() | |
| ## sidebar for context & config | |
| app_sidebar(controller) | |
| ## app header | |
| app_header(controller) | |
| ## Main content the chat | |
| app_chat(controller) |