ProfRick's picture
Upload README.md
cad2eab verified
---
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.