Heads-to-heads comparison of Gemini Pro and GPT-4.
- clone this repo, cd into it
- duplicate
.env.example
and name the copy.env
- fill out the
VITE_OPENAI_KEY=
value with your OpenAI api key. you must have access to thegpt-4-vision-preview
model - you can also try out the Gemini API if you have a key -- fill out
VITE_GEMINI_KEY
in the same.env
- then, run:
npm install
npm run dev
- the demo will be running at http://localhost:5173
note: the in-browser speech recognition works best in Google Chrome