mirror of
https://github.com/vndangkhoa/Sys-Arc-Visl.git
synced 2026-04-05 01:17:57 +07:00
fix: enable browser AI for image analysis
This commit is contained in:
parent
5bada75e33
commit
51c60c3c00
1 changed files with 2 additions and 2 deletions
|
|
@ -82,8 +82,8 @@ export function ImageUpload() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else if (aiMode === 'browser') {
|
} else if (aiMode === 'browser') {
|
||||||
setError('Browser mode does not support image analysis yet. Please use Cloud mode with an API key in Settings.');
|
// Browser AI uses Vision Service (Florence-2) for image analysis
|
||||||
return;
|
// No external configuration needed - models run in browser
|
||||||
}
|
}
|
||||||
|
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue