Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] clip prompt

laurenspriemba0ac8ab08ec
diff --git a/mobile/lib/services/search_service.dart b/mobile/lib/services/search_service.dart
index 728b7570a6..a662d66612 100644
--- a/mobile/lib/services/search_service.dart
+++ b/mobile/lib/services/search_service.dart
@@ -1307,7 +1307,8 @@ class SearchService {
}).toSet();
if (allYears.length <= 1) {
// sort first on clip embeddings TODO: lau: come up with a better prompt
- const query = 'Beautiful photo of a nice memory';
+ const query =
+ 'Photo of a treasured memory radiating happiness, connection, or quiet beauty';
// TODO: lau: optimize this later so we don't keep computing embedding
final textEmbedding = await MLComputer.instance.runClipText(query);
final textVector = Vector.fromList(textEmbedding);