fixing everything

This commit is contained in:
Nik 2024-06-13 19:36:18 -07:00
parent 31fc374a10
commit 42df655706
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import { gptRequest } from "../modules/openai";
export async function imageDescription(src: Uint8Array, model?: KnownModel): Promise<string> {
return ollamaInference({
model: model || 'moondream:1.8b-v2-moondream2-text-model-f16',
model: model || 'moondream:1.8b-v2-fp16',
messages: [{
role: 'system',
content: 'You are a very advanced model and your task is to describe the image as precisely as possible. Transcribe any text you see.'