Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pdf-miner
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Qin Kaijie
pdf-miner
Commits
e0c17eea
Commit
e0c17eea
authored
Jun 20, 2024
by
blue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: remove unsed params
parent
fbe3326c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
magicpdf.py
magic_pdf/cli/magicpdf.py
+0
-10
No files found.
magic_pdf/cli/magicpdf.py
View file @
e0c17eea
...
@@ -252,21 +252,11 @@ def local_json_command(local_json, method):
...
@@ -252,21 +252,11 @@ def local_json_command(local_json, method):
s3_file_path
=
jso
.
get
(
"path"
)
s3_file_path
=
jso
.
get
(
"path"
)
pdf_file_name
=
Path
(
s3_file_path
)
.
stem
pdf_file_name
=
Path
(
s3_file_path
)
.
stem
pdf_data
=
read_s3_path
(
s3_file_path
)
pdf_data
=
read_s3_path
(
s3_file_path
)
local_image_dir
,
local_md_dir
=
prepare_env
(
pdf_file_name
,
method
)
local_image_rw
,
local_md_rw
=
DiskReaderWriter
(
local_image_dir
),
DiskReaderWriter
(
local_md_dir
)
do_parse
(
do_parse
(
pdf_file_name
,
pdf_file_name
,
pdf_data
,
pdf_data
,
jso
[
"doc_layout_result"
],
jso
[
"doc_layout_result"
],
method
,
method
,
local_image_rw
,
local_md_rw
,
os
.
path
.
basename
(
local_image_dir
),
local_md_dir
,
)
)
...
...
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