A collection of machine learning and AI apps deployed as interactive web dashboards using Streamlit. Each app lives in its own folder and runs independently.
streamlit-web-app/
│
├── ai-product-app/ # AI product idea generator (Gemini)
│ ├── app.py # Streamlit entry point
│ ├── requirements.txt
│ ├── .gitignore
│ ├── .env.example # Template for required environment variables
│ ├── README.md
│ ├── app/
│ │ ├── __init__.py
│ │ ├── main.py # Streamlit UI entrypoint (streamlit run app/main.py)
│ │ ├── ui.py # UI layout helpers
│ │ ├── prompts.py # Prompt templates
│ │ ├── llm/
│ │ │ ├── __init__.py
│ │ │ └── gemini_client.py # Functions that call the Gemini API
│ │ └── core/
│ │ ├── __init__.py
│ │ └── config.py # Loads env vars and settings
│
├── <next-app>/ # Each new app follows the same pattern
│ ├── app/
│ │ ├── main.py
│ │ ├── models/ # Saved model files (.pkl, .joblib) if needed
│ │ ├── notebooks/ # Training and EDA notebooks
│ │ ├── data/ # Sample or processed datasets
│ │ └── utils/ # Preprocessing and helper functions
│ ├── requirements.txt
│ ├── .env.example
│ └── README.md
│
├── .env # Your local secrets — never commit this
├── .gitignore
└── README.md
| App | Description | Model / API |
|---|---|---|
| ai-product-app | Generates AI-powered product ideas | Gemini |
| (more coming) |
git clone https://github.com/MikeTX56/streamlit-web-app.git
cd streamlit-web-appcd ai-product-apppython -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activatepip install -r requirements.txtCopy the example file and fill in your keys:
cp .env.example .envGEMINI_API_KEY=your_key_hereNever commit
.envto GitHub. It is listed in.gitignore.
streamlit run app/main.pyThe app opens at http://localhost:8501.
- Frontend — Streamlit
- LLM / AI — Google Gemini API
- Language — Python 3.10+
- Config — python-dotenv
Each app deploys independently on Streamlit Community Cloud:
- Push the repo to GitHub
- Go to share.streamlit.io
- Select the repo and set the main file path — e.g.
ai-product-app/app/main.py - Add your API keys under the Secrets tab in the dashboard
.env
__pycache__/
*.pyc
*.pkl
*.joblib
*.h5
venv/
.DS_Store
.ipynb_checkpoints/
Mikiyas Tadesse — @MikeTX56