Download landing.py from mgbam/AICEO: direct link, hf CLI and curl.
- Browser
- Download file 1.04 kB
-
https://huggingface.co/spaces/mgbam/AICEO/resolve/309404e1401bf41ba6104877bc7bfaeb2bec3196/landing.py
- Command line
-
hf download hf://spaces/mgbam/AICEO@309404e1401bf41ba6104877bc7bfaeb2bec3196/landing.py
-
curl -L -o landing.py https://huggingface.co/spaces/mgbam/AICEO/resolve/309404e1401bf41ba6104877bc7bfaeb2bec3196/landing.py
1.04 kB
| import streamlit as st | |
| def show_landing_content(): | |
| """ | |
| Renders the landing page features with a hero and a 'Try the Demo' button | |
| that navigates to the Launch page. | |
| """ | |
| # Hero copy | |
| st.markdown( | |
| """ | |
| # 🚀 AutoExec AI | |
| **Your Autonomous AI Business Builder** | |
| Launch, manage, and optimize AI‑powered businesses with one click. | |
| """ | |
| ) | |
| # Feature columns | |
| col1, col2, col3 = st.columns(3) | |
| features = [ | |
| ("🤖 LLM‑Powered", "Gemini Pro + GPT‑4 fallback"), | |
| ("🔄 LoopAgent", "Daily automatic optimizations"), | |
| ("📊 Dashboard", "Real‑time logs & analytics"), | |
| ] | |
| for col, (title, desc) in zip([col1, col2, col3], features): | |
| col.subheader(title) | |
| col.write(desc) | |
| st.markdown("---") | |
| # Callback to switch page to 'Launch' | |
| def go_to_launch(): | |
| st.session_state.current_page = "Launch" | |
| # Button uses the callback before the next rerun | |
| st.button("👉 Try the Demo", on_click=go_to_launch) | |