Skip to content

Commit

Permalink
Fix model
Browse files Browse the repository at this point in the history
  • Loading branch information
Chiroyce1 committed Sep 7, 2024
1 parent 0667f62 commit fd6c9c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ async function captureImage() {
show(`Oops something went wrong.\nError: ${e}`);
}

const model = genAI.getGenerativeModel({ model: "gemini-pro-vision" });
show("Loading... (this can take upto 30s)");
const model = genAI.getGenerativeModel({ model: "gemini-1.5-flash" });
show("Loading... ");
let res;
active = true;
try {
Expand Down

0 comments on commit fd6c9c6

Please sign in to comment.