Skip to content

Commit 2f8dbb3

Browse files
committed
fix: cdn URLs
1 parent 3caa0ef commit 2f8dbb3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<!-- Prefetch models for faster loading (especially the L one) -->
4747
<link
4848
rel="prefetch"
49-
href="https://us-beautiful-space.nyc3.digitaloceanspaces.com/commonforms/FFDNet-S.onnx"
49+
href="https://us-beautiful-space.nyc3.cdn.digitaloceanspaces.com/commonforms/FFDNet-S.onnx"
5050
as="fetch"
5151
crossorigin="anonymous"
5252
/>
@@ -58,7 +58,7 @@
5858
/>
5959
<link
6060
rel="prefetch"
61-
href="https://us-beautiful-space.nyc3.digitaloceanspaces.com/commonforms/cerfa_14571-05_LONG_SEJOUR_EN.pdf"
61+
href="https://us-beautiful-space.nyc3.cdn.digitaloceanspaces.com/commonforms/cerfa_14571-05_LONG_SEJOUR_EN.pdf"
6262
as="fetch"
6363
crossorigin="anonymous"
6464
/>

src/FormFieldsDetection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pdfjsLib.GlobalWorkerOptions.workerSrc = `https://cdn.jsdelivr.net/npm/pdfjs-dis
1717
ort.env.wasm.wasmPaths = "https://cdn.jsdelivr.net/npm/onnxruntime-web@1.23.0/dist/";
1818

1919
const MODEL_URLS: Record<ModelType, string> = {
20-
"FFDNet-S": "https://us-beautiful-space.nyc3.digitaloceanspaces.com/commonforms/FFDNet-S.onnx",
20+
"FFDNet-S": "https://us-beautiful-space.nyc3.cdn.digitaloceanspaces.com/commonforms/FFDNet-S.onnx",
2121
"FFDNet-L": "https://huggingface.co/jbarrow/FFDNet-L-cpu/resolve/main/FFDNet-L.onnx",
2222
};
2323

src/components/ProcessingSteps.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface ProcessingStepsProps {
1313
}
1414

1515
const EXAMPLE_PDF = {
16-
URL: "https://us-beautiful-space.nyc3.digitaloceanspaces.com/commonforms/cerfa_14571-05_LONG_SEJOUR_EN.pdf",
16+
URL: "https://us-beautiful-space.nyc3.cdn.digitaloceanspaces.com/commonforms/cerfa_14571-05_LONG_SEJOUR_EN.pdf",
1717
FILENAME: "cerfa_14571-05_LONG_SEJOUR_EN.pdf",
1818
};
1919

0 commit comments

Comments
 (0)