Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
7ecc82da
"git@developer.sourcefind.cn:orangecat/ollama.git" did not exist on "e54a3c7fcd3a66486c3946a7944f3d7ce2daff6c"
Commit
7ecc82da
authored
Jul 28, 2024
by
myhloli
Browse files
fix(magic_pdf): remove unused import from pdf_extract_kit
parent
2ea32801
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
magic_pdf/model/pdf_extract_kit.py
magic_pdf/model/pdf_extract_kit.py
+1
-2
No files found.
magic_pdf/model/pdf_extract_kit.py
View file @
7ecc82da
...
...
@@ -9,8 +9,7 @@ try:
import
argparse
import
numpy
as
np
import
torch
from
paddleocr
import
draw_ocr
import
torchtext
;
torchtext
.
disable_torchtext_deprecation_warning
()
from
PIL
import
Image
from
torchvision
import
transforms
from
torch.utils.data
import
Dataset
,
DataLoader
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment