Skip to content

Rushikeshnimkar/Gemini-nano-on-Chrome

Repository files navigation

Gemini Nano Chat 🤖

A modern chat interface built with React that leverages Chrome's Built-in AI capabilities through the Prompt API to interact with Gemini Nano locally.

🚀 Features

  • Real-time chat interface with Gemini Nano
  • Customizable model parameters (temperature, top-k)
  • Token usage tracking

🛠️ Prerequisites

  • Chrome Dev/Canary (Version ≥ 128.0.6545.0)
  • 4GB minimum Video RAM
  • Windows 10/11 or MacOS ≥ 13 (Ventura)
  • Non-metered network connection

⚙️ Setup

1.Open a new tab in Chrome, go to chrome://flags/#optimization-guide-on-device-model

2.Select Enabled BypassPerfRequirement

3.This bypass performance checks which might get in the way of having Gemini Nano downloaded on your device.

4.Go to chrome://flags/#prompt-api-for-gemini-nano , Select Enabled

5.Relaunch Chrome.