Update pages/api/gemini.js
Browse files- pages/api/gemini.js +1 -1
pages/api/gemini.js
CHANGED
@@ -31,7 +31,7 @@ export default async function handler(req, res) {
|
|
31 |
const model = genAI.getGenerativeModel({ model: "gemini-2.0-flash" });
|
32 |
|
33 |
// Use the custom prompt if provided, otherwise use the default
|
34 |
-
const promptText = prompt ||
|
35 |
|
36 |
// Prepare the image part for the model
|
37 |
const imagePart = {
|
|
|
31 |
const model = genAI.getGenerativeModel({ model: "gemini-2.0-flash" });
|
32 |
|
33 |
// Use the custom prompt if provided, otherwise use the default
|
34 |
+
const promptText = prompt || "์ด ์ด๋ฏธ์ง๋ฅผ ๋ณด๊ณ (๋ณด์ผ ์๋ ์๋ ์์ด๋ ์๊ฐ๋ฝ์ ๋ฌด์ํ ์ฑ) ์ค๋ก์ง playing cards๋ง ์๋ณํ์ธ์. ์๋ณ๋ ์นด๋์ ์ ํํ ์ ๋ณด๋ง ์ถ๋ ฅํ์ธ์(์, A ์คํ์ด๋, 10 ํํธ, J ๋ค์ด์๋ชฌ๋";
|
35 |
|
36 |
// Prepare the image part for the model
|
37 |
const imagePart = {
|