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
zhougaofeng
magic_pdf
Commits
b65d91ea
"git@developer.sourcefind.cn:orangecat/ollama.git" did not exist on "17b386a891af182650f93d528ff78f2fded9efc6"
Commit
b65d91ea
authored
Nov 22, 2024
by
zhougaofeng
Browse files
Update ocr_vllm_server.py
parent
b3dc23fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
magic_pdf/dict2md/ocr_vllm_server.py
magic_pdf/dict2md/ocr_vllm_server.py
+1
-1
No files found.
magic_pdf/dict2md/ocr_vllm_server.py
View file @
b65d91ea
...
@@ -44,7 +44,7 @@ def get_args():
...
@@ -44,7 +44,7 @@ def get_args():
parser
.
add_argument
(
'--dcu_id'
,
type
=
str
,
default
=
'0'
,
help
=
'Specify the GPU ID to load the model onto.'
)
parser
.
add_argument
(
'--dcu_id'
,
type
=
str
,
default
=
'0'
,
help
=
'Specify the GPU ID to load the model onto.'
)
parser
.
add_argument
(
parser
.
add_argument
(
'--config_path'
,
'--config_path'
,
default
=
'
/home/practice/magic_pdf-main
/magic_pdf/config.ini'
,
default
=
'
.
/magic_pdf/config.ini'
,
)
)
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
()
return
args
return
args
...
...
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