瀏覽代碼

fix: standardize parameter names for formula enable and table enable in fast_api.py

myhloli 4 月之前
父節點
當前提交
804a3cd6ef
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      mineru/cli/fast_api.py

+ 2 - 2
mineru/cli/fast_api.py

@@ -93,8 +93,8 @@ async def parse_pdf(
             p_lang_list=actual_lang_list,
             backend=backend,
             parse_method=parse_method,
-            p_formula_enable=formula_enable,
-            p_table_enable=table_enable,
+            formula_enable=formula_enable,
+            table_enable=table_enable,
             server_url=server_url,
             f_draw_layout_bbox=False,
             f_draw_span_bbox=False,