π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] clip prompt
laurenspriemba0ac8ab08ec
diff --git a/mobile/lib/services/search_service.dart b/mobile/lib/services/search_service.dartindex 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 embeddingfinal textEmbedding = await MLComputer.instance.runClipText(query);final textVector = Vector.fromList(textEmbedding);