@@ -227,6 +228,7 @@ You can find the `magic-pdf.json` file in your 【user directory】.
...
@@ -227,6 +228,7 @@ You can find the `magic-pdf.json` file in your 【user directory】.
You can modify certain configurations in this file to enable or disable features, such as table recognition:
You can modify certain configurations in this file to enable or disable features, such as table recognition:
> If the following items are not present in the JSON, please manually add the required items and remove the comment content (standard JSON does not support comments).
> If the following items are not present in the JSON, please manually add the required items and remove the comment content (standard JSON does not support comments).
@@ -75,8 +75,10 @@ If the version number is less than 0.7.0, please report the issue.
...
@@ -75,8 +75,10 @@ If the version number is less than 0.7.0, please report the issue.
### 6. Download Models
### 6. Download Models
Refer to detailed instructions on [how to download model files](how_to_download_models_en.md).
Refer to detailed instructions on [how to download model files](how_to_download_models_en.md).
## 7. Understand the Location of the Configuration File
## 7. Understand the Location of the Configuration File
After completing the [6. Download Models](#6-download-models) step, the script will automatically generate a `magic-pdf.json` file in the user directory and configure the default model path.
After completing the [6. Download Models](#6-download-models) step, the script will automatically generate a `magic-pdf.json` file in the user directory and configure the default model path.
...
@@ -84,6 +86,7 @@ You can find the `magic-pdf.json` file in your user directory.
...
@@ -84,6 +86,7 @@ You can find the `magic-pdf.json` file in your user directory.
> The user directory for Linux is "/home/username".
> The user directory for Linux is "/home/username".
### 8. First Run
### 8. First Run
Download a sample file from the repository and test it.
Download a sample file from the repository and test it.
Model downloads are divided into initial downloads and updates to the model directory. Please refer to the corresponding documentation for instructions on how to proceed.
Model downloads are divided into initial downloads and updates to the model directory. Please refer to the corresponding documentation for instructions on how to proceed.
# Initial download of model files
# Initial download of model files
### 1. Download the Model from Hugging Face
### Download the Model from Hugging Face
Use a Python Script to Download Model Files from Hugging Face
Use a Python Script to Download Model Files from Hugging Face