This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/drive/1zmPTcZ4qJ5DLasYHn3KclzbpTITE5Sol
Prerequisites: Node.js
- Install dependencies:
npm install-2. Set theGEMINI_API_KEYin .env.local to your Gemini API key +2. SetVITE_HF_API_KEYin.env.localto your Hugging Face token (free tier works). Optional: setVITE_HF_MODELto choose another open model - Run the app:
npm run dev
+## Preview locally
+
+1. Create .env.local with your token:
-
- VITE_HF_API_KEY=your_huggingface_token
- VITE_HF_MODEL=mistralai/Mistral-7B-Instruct-v0.3
-
+2. Start dev server:
-
- npm run dev
-
+3. Open the URL shown in terminal (usually http://localhost:5173).
+
+If you want a production preview:
+bash +npm run build +npm run preview +
+
