We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f14027 commit ba98d6cCopy full SHA for ba98d6c
README.md
@@ -84,6 +84,14 @@ export function Altair() {
84
}
85
```
86
87
+## Usage
88
+
89
+Add your Gemini API key to `.env` then:
90
91
+```
92
+$ npm install && npm start
93
94
95
## development
96
97
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
src/App.tsx
@@ -24,7 +24,7 @@ import cn from "classnames";
24
25
const API_KEY = process.env.REACT_APP_GEMINI_API_KEY as string;
26
if (typeof API_KEY !== "string") {
27
- throw new Error("set REACT_APP_GEMINI_APIK_KEY in .env");
+ throw new Error("set REACT_APP_GEMINI_API_KEY in .env");
28
29
30
const host = "generativelanguage.googleapis.com";
0 commit comments