Explorar el Código

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

myhloli hace 4 meses
padre
commit
804a3cd6ef
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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,