This commit is contained in:
Dhravya 2024-06-16 18:24:27 -05:00
parent 9588768b70
commit a87030b88b

View file

@ -110,7 +110,7 @@ app.post(
const input = {
image: [...new Uint8Array(buffer)],
prompt:
"What's in this image? caption everything you see in great detail",
"What's in this image? caption everything you see in great detail. If it has text, do an OCR and extract all of it.",
max_tokens: 1024,
};
const response = await c.env.AI.run(