free mode
This commit is contained in:
parent
5d21462726
commit
47e65218c2
@ -1,2 +1,2 @@
|
||||
// src/config/freeMode.ts
|
||||
export const FREE_MODE = process.env.NEXT_PUBLIC_FREE_MODE
|
||||
export const FREE_MODE = process.env.NEXT_PUBLIC_FREE_MODE === 'true'
|
||||
|
||||
@ -58,6 +58,7 @@ export async function analyzeImageWithVision(imageBuffer: Buffer): Promise<Visio
|
||||
ANIMAL_LABELS.includes(label.description.toLowerCase())
|
||||
)?.description || ''
|
||||
|
||||
// wtf Claude
|
||||
const isAnimal = !!matchedLabel
|
||||
|
||||
// For mainObject, use the first/highest confidence label from Vision API
|
||||
|
||||
Loading…
Reference in New Issue
Block a user