Commit graph

25368 commits

Author SHA1 Message Date
Manav Rathi 55632fff64
Use new method 2024-04-12 16:11:34 +05:30
Manav Rathi 401f879424
Consolidate 2024-04-12 16:08:36 +05:30
Manav Rathi b36175a779
user 2024-04-12 15:40:24 +05:30
Manav Rathi 158186290c
Inline 2024-04-12 15:03:53 +05:30
Manav Rathi 15b601b0ff
Inline and prune 2024-04-12 14:53:11 +05:30
Manav Rathi c83dc87d5d
Inline the factory 2024-04-12 14:45:03 +05:30
Manav Rathi 495ff99874
Replace enum with TS type 2024-04-12 14:41:33 +05:30
Manav Rathi cd3ff6f878
Delete is not needed outside 2024-04-12 14:32:50 +05:30
Manav Rathi b447dedf83
Cache limit is usused 2024-04-12 14:26:41 +05:30
Manav Rathi bdadc839e0
Remove firefox specific workaround
In a quick (but possibly incomplete) test I wasn't able to reproduce this in an
incognito window. Throwing the error from here has a potential for breaking
things though, I'll try to verify this as I go through the flows individually.
2024-04-12 14:23:56 +05:30
Manav Rathi 02763e3be4
Kill the renderer when we quit the app 2024-04-12 14:05:10 +05:30
Manav Rathi 8045bd1e5a
Rename and prune 2024-04-12 14:01:53 +05:30
Manav Rathi d1d9cd9518
Document 2024-04-12 13:48:16 +05:30
Manav Rathi 39912d9b35
Remove unused code 2024-04-12 13:25:48 +05:30
Manav Rathi cfec6ca52e
Enable the Chromium sandbox 2024-04-12 10:39:00 +05:30
Manav Rathi 98c3e43b70
Inline 2024-04-12 10:28:23 +05:30
Manav Rathi 87905a39f8
Dedup 2024-04-12 10:22:04 +05:30
Manav Rathi a71ca93696
Inline 2024-04-12 10:15:08 +05:30
Manav Rathi e651e9d9c7
Inline 2024-04-12 10:11:38 +05:30
Manav Rathi 664cf2157b
Reword 2024-04-12 10:07:03 +05:30
Manav Rathi aace18aba0
Inline and rename 2024-04-12 09:51:08 +05:30
Manav Rathi 4d867898f7
Remove the sharedarraybuffer flag
From my understanding, this was needed for the wasm FFMPEG, which we are no
longer using when running as the desktop app.
2024-04-12 09:43:52 +05:30
Manav Rathi 9c786da73b
Tweak 2024-04-12 09:38:38 +05:30
Manav Rathi 7fa9e924eb
Consolidate 2024-04-11 20:57:54 +05:30
Neeraj Gupta 997debf924
[mob] Minor fixes for semantic search (#1412)
## Description
Fixes two issues
- [x] If remote embedding fetch fails, don't queue backfill for files.
- [x] Fix infinite search loader when user quickly typing search term on
the search screen.

## Tests
2024-04-11 18:07:29 +05:30
Manav Rathi df41133924
[desktop] Enable ONNX Face ML (#1413)
Indexing + PUT embeddings works now, but most other things are still
WIP.
2024-04-11 16:40:36 +05:30
Manav Rathi 61143c9c62
Cleanup 2024-04-11 16:36:56 +05:30
Manav Rathi 33c84f7a08
Prevent undefined errors 2024-04-11 16:27:27 +05:30
Manav Rathi 320db9f8b7
Fix the putEmbeddings API calls for now 2024-04-11 16:22:38 +05:30
Manav Rathi e58e96091f
Ignore (expected) errors when trying to cache face crops 2024-04-11 16:15:08 +05:30
Neeraj Gupta de96f108c2 [mob] Clean up + rethrow remote fetch error 2024-04-11 15:40:31 +05:30
Manav Rathi ef4462553c
Fix incorrect typecheck that fails on undefined 2024-04-11 15:35:25 +05:30
Neeraj Gupta ff4e64819b [mob] Clean up code 2024-04-11 15:31:11 +05:30
Neeraj Gupta 1cc188dd9c [mob][clip] Simplify semantic search + fix infinite search loader 2024-04-11 15:27:22 +05:30
Manav Rathi ff66a2f44c
The ML code runs in workers 2024-04-11 15:27:02 +05:30
Manav Rathi 33e3265db6
Migration for existing configs 2024-04-11 15:21:21 +05:30
Manav Rathi f5bf776848
lint 2024-04-11 15:06:03 +05:30
Manav Rathi 52727f2255
Also move the embedding 2024-04-11 15:04:18 +05:30
Manav Rathi 9ff4989d81
Cleanup 2024-04-11 14:44:00 +05:30
Manav Rathi a1d6ef43b4
Roundtrip 2024-04-11 14:37:44 +05:30
Manav Rathi 41f7b30ca0
Wire together 2024-04-11 14:22:52 +05:30
Neeraj Gupta b8417d1fcc [mob] Skip backfill if remote fetch fails 2024-04-11 14:09:31 +05:30
Manav Rathi a88f551b6a
WIP IPC API 2024-04-11 13:58:52 +05:30
Manav Rathi 2bb9e77e34
Remove unused code 2024-04-11 13:46:34 +05:30
Neeraj Gupta 0fa29b3d7c [mob] iOS build changes 2024-04-11 13:46:26 +05:30
Manav Rathi 7bf8912dbc
Duplicate for now 2024-04-11 13:45:02 +05:30
Manav Rathi 2b6047a979
Split 2024-04-11 13:40:35 +05:30
Manav Rathi d3eb85be8d
Split 2024-04-11 13:17:56 +05:30
Manav Rathi bbdbad5891
[web] Remove tensorflow, and then some (#1411)
Remove all ML code that is not in the immediate release path. We will
resurrect if/when we reintroduce object and text detection, for now we
prune in an attempt to get the face detection release out to completion.
2024-04-11 12:48:47 +05:30
Manav Rathi 6d769773cc
tsc 2024-04-11 12:42:18 +05:30