AICEO / app.py
mgbam's picture
Update app.py
e19b30e verified
raw
history blame
758 Bytes
from landing import render_landing
from agent_manager import run_agents
from dashboard.logs import show_logs
st.set_page_config(page_title="AutoExec AI SaaS", layout="wide")
# Sidebar navigation
tab = st.sidebar.selectbox("Navigation", ["Home", "Launch", "Agent Logs", "Settings"])
if tab == "Home":
render_landing()
elif tab == "Launch":
niche = st.text_input("Niche (e.g. fitness, productivity)")
biz_type = st.selectbox("Business Type", ["Dropshipping", "Print-on-Demand", "Newsletter", "Course"])
if st.button("πŸš€ Launch Business"):
results = run_agents(niche, biz_type)
st.write(results)
elif tab == "Agent Logs":
show_logs()
elif tab == "Settings":
st.write("Settings placeholder (e.g., API keys, billing)")