Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] prompt

laurenspriem1ff4f7d0bb7f
diff --git a/mobile/lib/services/search_service.dart b/mobile/lib/services/search_service.dart
index a662d66612..208b72d67a 100644
--- a/mobile/lib/services/search_service.dart
+++ b/mobile/lib/services/search_service.dart
@@ -1306,9 +1306,9 @@ class SearchService {
return creationTime.year;
}).toSet();
if (allYears.length <= 1) {
- // sort first on clip embeddings TODO: lau: come up with a better prompt
+ // sort first on clip embeddings
const query =
- 'Photo of a treasured memory radiating happiness, connection, or quiet beauty';
+ 'Photo of a precious memory radiating warmth, vibrant energy, or quiet beauty β€” alive with color, light, or emotion';
// TODO: lau: optimize this later so we don't keep computing embedding
final textEmbedding = await MLComputer.instance.runClipText(query);
final textVector = Vector.fromList(textEmbedding);