Skip to content

armgit / ente

Public Imported from GitHub
0

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

Mark temporary OCR model host for migration to models.ente.com

laurenspriembe6feb2c24eb
diff --git a/rust/crates/ml/src/ocr/assets.rs b/rust/crates/ml/src/ocr/assets.rs
index d03b42acc3..7558dc7b36 100644
--- a/rust/crates/ml/src/ocr/assets.rs
+++ b/rust/crates/ml/src/ocr/assets.rs
@@ -19,6 +19,7 @@ struct OcrModelFile {
const DETECTION: OcrModelFile = OcrModelFile {
key: "ppocrv5_det_fixed_v1",
name: "det.onnx",
+ // Todo:laurens: move these to models.ente.com before removing the internalUser feature flag gating
url: "https://entedevassets.priem.dev/det_fixed_v1.onnx",
size: 5_548_458,
sha256: "f655f119225b579fa8c3cbf64f6bb7cf56a26c9dc211706a25234d70a543ec8c",
@@ -27,6 +28,7 @@ const DETECTION: OcrModelFile = OcrModelFile {
const CLASSIFICATION: OcrModelFile = OcrModelFile {
key: "ppocrv5_cls_fixed_v1",
name: "cls.onnx",
+ // Todo:laurens: move these to models.ente.com before removing the internalUser feature flag gating
url: "https://entedevassets.priem.dev/cls_fixed_v1.onnx",
size: 590_475,
sha256: "378d52a73263828d08d4dda37f1d0aac2e36cbd486fdc6351bf309d515610654",
@@ -35,6 +37,7 @@ const CLASSIFICATION: OcrModelFile = OcrModelFile {
const RECOGNITION: OcrModelFile = OcrModelFile {
key: "ppocrv5_rec_fixed_v1",
name: "rec.onnx",
+ // Todo:laurens: move these to models.ente.com before removing the internalUser feature flag gating
url: "https://entedevassets.priem.dev/rec_fixed_v1.onnx",
size: 17_031_601,
sha256: "6dda4c0891af5a70c5b0f618b62588df7f3140616d1c560be5ec6496747b54fd",