Skip to content

Commit

Permalink
feat(ai-gen-image): use gemini 1.5 flash instread of pro
Browse files Browse the repository at this point in the history
  • Loading branch information
nakasyou committed Nov 13, 2024
1 parent a8c7f50 commit fdd58ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/islands/note/components/notes/TextNote/AI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export const FromImage = (props: {

const ai = getGemini()
const model = ai.getGenerativeModel({
model: 'gemini-1.5-pro',
model: 'gemini-1.5-flash',
})
const b64 = await new Promise<string>((resolve) => {
const reader = new FileReader()
Expand Down

0 comments on commit fdd58ec

Please sign in to comment.