mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
[mob] Minor refactor
This commit is contained in:
parent
52d1ba237a
commit
dfe329eef9
@ -492,7 +492,6 @@ class MLService {
|
||||
actuallyRanML = true;
|
||||
await SemanticSearchService.storeClipImageResult(
|
||||
result.clip!,
|
||||
instruction.file,
|
||||
);
|
||||
}
|
||||
} on ThumbnailRetrievalException catch (e, s) {
|
||||
|
@ -263,10 +263,7 @@ class SemanticSearchService {
|
||||
_logger.info("Clip text model loaded");
|
||||
}
|
||||
|
||||
static Future<void> storeClipImageResult(
|
||||
ClipResult clipResult,
|
||||
EnteFile entefile,
|
||||
) async {
|
||||
static Future<void> storeClipImageResult(ClipResult clipResult) async {
|
||||
final embedding = ClipEmbedding(
|
||||
fileID: clipResult.fileID,
|
||||
embedding: clipResult.embedding,
|
||||
|
Loading…
x
Reference in New Issue
Block a user