docs: use public openmed npm package
Browse files
README.md
CHANGED
|
@@ -62,11 +62,11 @@ OpenMed selects the CPU-oriented INT8 graph by default and returns labels, confi
|
|
| 62 |
## OpenMed in Web
|
| 63 |
|
| 64 |
```bash
|
| 65 |
-
npm install
|
| 66 |
```
|
| 67 |
|
| 68 |
```typescript
|
| 69 |
-
import { loadOnnxModel } from "
|
| 70 |
|
| 71 |
const repo = "OpenMed/OpenMed-NER-PathologyDetect-BioPatient-108M-v1-onnx-android";
|
| 72 |
const model = await loadOnnxModel(repo);
|
|
|
|
| 62 |
## OpenMed in Web
|
| 63 |
|
| 64 |
```bash
|
| 65 |
+
npm install openmed @huggingface/transformers onnxruntime-web
|
| 66 |
```
|
| 67 |
|
| 68 |
```typescript
|
| 69 |
+
import { loadOnnxModel } from "openmed";
|
| 70 |
|
| 71 |
const repo = "OpenMed/OpenMed-NER-PathologyDetect-BioPatient-108M-v1-onnx-android";
|
| 72 |
const model = await loadOnnxModel(repo);
|