Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# gemini-nano

![Visual Diagram](docs/assets/concept.png)


Experimental Gemini Nano on-device inference demos across browser, Python, and HTTP surfaces.

Public documentation is published from `docs/` via `mkdocs.yml` and
Expand Down Expand Up @@ -37,6 +40,9 @@ python -m venv .venv && .venv\Scripts\activate # Windows
pip install -r requirements.txt
python server.py
# → http://localhost:8080

![Visual Diagram](docs/assets/concept.png)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Move diagram links out of shell snippets

This image link is inside the fenced bash quick-start block, so it renders and copies as a shell command rather than as a diagram. The same insertion appears in the other quick-start command blocks, which means users copying the setup examples will paste invalid shell syntax before completing the documented commands; move these image links outside the fences or keep a single top-level diagram.

Useful? React with 👍 / 👎.


```

### chrome-bridge (Node.js)
Expand All @@ -46,6 +52,9 @@ cd chrome-bridge
npm install
npm start
# → http://localhost:8081

![Visual Diagram](docs/assets/concept.png)

```

Test without Chrome:
Expand All @@ -61,6 +70,9 @@ cd python-mediapipe
pip install -r requirements.txt
python run_nano.py "What is Gemini Nano?"
# Prints download instructions if model.task is absent (exits 0)

![Visual Diagram](docs/assets/concept.png)

python run_nano.py --model-path /path/to/gemma2b-it.task "Your prompt"
```

Expand Down
4 changes: 2 additions & 2 deletions api-server/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fastapi>=0.115.0
fastapi>=0.139.0
uvicorn[standard]>=0.51.0
httpx>=0.27.0
httpx>=0.28.1
pydantic>=2.13.4
Loading