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 || "์ด ์ด๋ฏธ์ง๋ฅผ ๋ณด๊ณ ๋ณด์ผ ์๋ ์๋ ์์ด๋ ์๊ฐ๋ฝ์ ๋ฌด์ํ๊ณ ํ๋ ์ด์ ์นด๋๋ฅผ ์ธ์ํ์ฌ ์๋ณํ์ธ์. ์๋ณ๋ ์นด๋ ์ ๋ณด๋ง ์์ด๋ก ์ถ๋ ฅํ์ธ์. ํ์์ 'A Hearts', '10 Diamonds'์ฒ๋ผ ์นด๋ ๊ฐ๊ณผ ๋ฌด๋ฌ๋ฅผ ๊ณต๋ฐฑ์ผ๋ก ๊ตฌ๋ถํด ํ๊ธฐํ๋ฉฐ, ์ฌ๋ฌ ์ฅ์ด๋ฉด ์ผํ๋ก ๊ตฌ๋ถํ์ธ์. ์ถ๊ฐ ์ค๋ช
์ด๋ ๋ค๋ฅธ ํ
์คํธ๋ ์ ๋ ํฌํจํ์ง ๋ง์ธ์.";
|
35 |
|
36 |
// Prepare the image part for the model
|
37 |
const imagePart = {
|