Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
|
@@ -124,7 +124,7 @@
|
|
| 124 |
// Configuration
|
| 125 |
// ==========================
|
| 126 |
// Use a Hugging Face Hub repository ID (NOT a direct .onnx URL)
|
| 127 |
-
const MODEL_ID = '
|
| 128 |
// Prefer v3 (@huggingface/transformers). Fallback to v2 (@xenova/transformers)
|
| 129 |
const CDN_PRIMARY = 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.0.0';
|
| 130 |
const CDN_FALLBACK = 'https://cdn.jsdelivr.net/npm/@xenova/transformers@2.17.2';
|
|
|
|
| 124 |
// Configuration
|
| 125 |
// ==========================
|
| 126 |
// Use a Hugging Face Hub repository ID (NOT a direct .onnx URL)
|
| 127 |
+
const MODEL_ID = 'onnx-community/phishing-email-detection-distilbert_v2.4.1-ONNX';
|
| 128 |
// Prefer v3 (@huggingface/transformers). Fallback to v2 (@xenova/transformers)
|
| 129 |
const CDN_PRIMARY = 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.0.0';
|
| 130 |
const CDN_FALLBACK = 'https://cdn.jsdelivr.net/npm/@xenova/transformers@2.17.2';
|