Skip to content

Commit

Permalink
removed hosting
Browse files Browse the repository at this point in the history
  • Loading branch information
KajalDeore04 committed Jan 13, 2025
1 parent 7b5683d commit 0e0635e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
},
"dependencies": {
"@google/generative-ai": "^0.21.0",
"dotenv": "^16.4.7",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
5 changes: 1 addition & 4 deletions src/config/gemini.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@ import {
HarmCategory,
HarmBlockThreshold,
} from "@google/generative-ai";
import dotenv from "dotenv";

dotenv.config();

const apiKey = import.meta.env.VITE_GOOGLE_API_KEY;
const apiKey = "Your API Key";
const genAI = new GoogleGenerativeAI(apiKey);

const model = genAI.getGenerativeModel({
Expand Down

0 comments on commit 0e0635e

Please sign in to comment.