import streamlit as st import os import sys st.set_page_config( page_title="QueryQuack", page_icon="landing_page/styles/images/logo.png", layout="wide", initial_sidebar_state="collapsed" ) # No need for sys.path modification since we're at the root directory now from landing_page.app import render_landing_page from app.components.heart import show_main_app def main(): """Main application entry point.""" # Check if we need to show the main app or landing page params = st.query_params if "page" in params and params["page"] == "main": show_main_app() else: render_landing_page() if __name__ == "__main__": main()