|
@@ -22,12 +22,11 @@ The configuration file can be found in the user directory, with the filename `ma
|
|
|
|
|
|
|
|
> [!IMPORTANT]
|
|
> [!IMPORTANT]
|
|
|
> Due to feedback from some users that downloading model files using git lfs was incomplete or resulted in corrupted model files, this method is no longer recommended.
|
|
> Due to feedback from some users that downloading model files using git lfs was incomplete or resulted in corrupted model files, this method is no longer recommended.
|
|
|
|
|
+>
|
|
|
|
|
+> For versions 0.9.x and later, due to the repository change and the addition of the layout sorting model in PDF-Extract-Kit 1.0, the models cannot be updated using the `git pull` command. Instead, a Python script must be used for one-click updates.
|
|
|
|
|
|
|
|
When magic-pdf <= 0.8.1, if you have previously downloaded the model files via git lfs, you can navigate to the previous download directory and update the models using the `git pull` command.
|
|
When magic-pdf <= 0.8.1, if you have previously downloaded the model files via git lfs, you can navigate to the previous download directory and update the models using the `git pull` command.
|
|
|
|
|
|
|
|
-> [!WARNING]
|
|
|
|
|
-> For versions 0.9.x and later, due to the repository change and the addition of the layout sorting model in PDF-Extract-Kit 1.0, the models cannot be updated using the `git pull` command. Instead, a Python script must be used for one-click updates.
|
|
|
|
|
-
|
|
|
|
|
## 2. Models downloaded via Hugging Face or Model Scope
|
|
## 2. Models downloaded via Hugging Face or Model Scope
|
|
|
|
|
|
|
|
If you previously downloaded models via Hugging Face or Model Scope, you can rerun the Python script used for the initial download. This will automatically update the model directory to the latest version.
|
|
If you previously downloaded models via Hugging Face or Model Scope, you can rerun the Python script used for the initial download. This will automatically update the model directory to the latest version.
|