Update docs for v3 truly self-hosted setup
This commit is contained in:
parent
0dc6812f38
commit
39d9a1f9e8
1 changed files with 8 additions and 8 deletions
|
|
@ -2,28 +2,28 @@
|
|||
|
||||
## Overview
|
||||
|
||||
As of v18, Browser Whisper is **fully self-hosted** with **zero CDN dependencies**. All models and libraries are bundled with the application.
|
||||
As of v3, Browser Whisper is **fully self-hosted** with **zero CDN dependencies**. All models and libraries are bundled with the application and served from your own server.
|
||||
|
||||
## What Changed
|
||||
|
||||
**Before (v17 and earlier):**
|
||||
**Before (v2 and earlier):**
|
||||
- Loaded transformers.js from `cdn.jsdelivr.net`
|
||||
- Downloaded models from `cdn-lfs.huggingface.co`
|
||||
- Failed in corporate/clinical networks with firewall restrictions
|
||||
|
||||
**Now (v18+):**
|
||||
- Transformers.js library bundled at `/models/transformers.min.js`
|
||||
- Whisper model bundled at `/models/Xenova/whisper-tiny.en/`
|
||||
**Now (v3+):**
|
||||
- Transformers.js library (v2.6.2) bundled at `/models/transformers.min.js` (760KB)
|
||||
- Whisper model bundled at `/models/Xenova/whisper-tiny.en/` (42MB)
|
||||
- Everything served from your own server
|
||||
- **Works in any network environment**
|
||||
- **Works in any network environment** (firewalled, air-gapped, offline)
|
||||
|
||||
## Files Included
|
||||
|
||||
```
|
||||
public/models/
|
||||
├── transformers.min.js (~876KB) - Transformers.js library
|
||||
├── transformers.min.js (760KB) - Transformers.js v2.6.2 (worker-compatible)
|
||||
└── Xenova/
|
||||
└── whisper-tiny.en/ (~42MB total)
|
||||
└── whisper-tiny.en/ (42MB total)
|
||||
├── config.json
|
||||
├── tokenizer.json
|
||||
├── preprocessor_config.json
|
||||
|
|
|
|||
Loading…
Reference in a new issue