Update README
Browse files
README.md
CHANGED
@@ -9,12 +9,12 @@ This is the model repository corresponding to version 1.0 of PDF-Extract-Kit. Fo
|
|
9 |
### SDK Download
|
10 |
|
11 |
```bash
|
12 |
-
# First, install the
|
13 |
-
pip install
|
14 |
```
|
15 |
|
16 |
```python
|
17 |
-
# Use the following Python code to download the model using the
|
18 |
from huggingface_hub import snapshot_download
|
19 |
|
20 |
snapshot_download(repo_id='opendatalab/pdf-extract-kit-1.0', local_dir='./', max_workers=20)
|
@@ -24,6 +24,7 @@ snapshot_download(repo_id='opendatalab/pdf-extract-kit-1.0', local_dir='./', max
|
|
24 |
Alternatively, you can use Git to clone the model repository from ModelScope:
|
25 |
|
26 |
```bash
|
|
|
27 |
git clone https://huggingface.co/opendatalab/PDF-Extract-Kit-1.0
|
28 |
```
|
29 |
|
|
|
9 |
### SDK Download
|
10 |
|
11 |
```bash
|
12 |
+
# First, install the huggingface library using pip:
|
13 |
+
pip install huggingface_hub
|
14 |
```
|
15 |
|
16 |
```python
|
17 |
+
# Use the following Python code to download the model using the huggingface SDK:
|
18 |
from huggingface_hub import snapshot_download
|
19 |
|
20 |
snapshot_download(repo_id='opendatalab/pdf-extract-kit-1.0', local_dir='./', max_workers=20)
|
|
|
24 |
Alternatively, you can use Git to clone the model repository from ModelScope:
|
25 |
|
26 |
```bash
|
27 |
+
git lfs install
|
28 |
git clone https://huggingface.co/opendatalab/PDF-Extract-Kit-1.0
|
29 |
```
|
30 |
|