Download app.py from mgbam/AICEO: direct link, hf CLI and curl.
- Browser
- Download file 799 Bytes
-
https://huggingface.co/spaces/mgbam/AICEO/resolve/80901e656773c546151e895abaaa516b551d9a86/app.py
- Command line
-
hf download hf://spaces/mgbam/AICEO@80901e656773c546151e895abaaa516b551d9a86/app.py
-
curl -L -o app.py https://huggingface.co/spaces/mgbam/AICEO/resolve/80901e656773c546151e895abaaa516b551d9a86/app.py
799 Bytes
| import streamlit as st | |
| import subprocess | |
| 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)") |