--- title: Flow Down Gradients β€” Simple Explorer emoji: 🌬️ colorFrom: blue colorTo: green sdk: streamlit app_file: app.py pinned: false --- # Flow Down Gradients β€” Simple Explorer ## Pressure (Alveolus ↔ Capillary) - Choose a **preset**: Demo, Preset 1–3 (values in **mmHg**, including **Thoracic pressure**). - Diagram shows **Oβ‚‚ (Blue β€’ Circle)** and **COβ‚‚ (Orange β€’ Square)** with labels **Alveolus** and **Capillary**. - Clean, accessible legend (color + shape cues). ## Concentration: Action Potential (extracellular ↔ intracellular) - Choose **Preset 1–3** (more **Na⁺**, more **K⁺**, and **which side is more negative**). - Labels: **Extracellular** ↔ **Intracellular** with **+/βˆ’** signs above the labels. - Static visual (no animation) to pair with Canvas prompts. ## Run locally ```bash pip install streamlit numpy matplotlib streamlit run app.py ``` ## Deploy on Hugging Face Spaces (Streamlit) Upload **`app.py`**, **`requirements.txt`**, and this **`README.md`** to a Streamlit Space.