Unverified Commit 37f3e200 authored by Nathan Dahlberg's avatar Nathan Dahlberg Committed by GitHub
Browse files

fix doc_analyze first page only

parent c4849ba0
......@@ -158,7 +158,7 @@ def doc_analyze(
table_enable=None,
) -> InferenceResult:
end_page_id = end_page_id if end_page_id else len(dataset) - 1
end_page_id = end_page_id if end_page_id is not None else len(dataset) - 1
model_manager = ModelSingleton()
custom_model = model_manager.get_model(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment