Skip to content

Commit

Permalink
add defaults to element type as well
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyanid committed Nov 6, 2023
1 parent c93c486 commit 6943561
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions unstructured/metrics/evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ def measure_text_edit_distance(

def measure_element_type_accuracy(
output_dir: str,
output_list: Optional[List[str]],
source_dir: str,
source_list: Optional[List[str]],
export_dir: str,
output_list: Optional[List[str]] = None,
source_list: Optional[List[str]] = None,
export_dir: str = "metrics",
):
"""
Loops through the list of structured output from all of `output_dir` or selected files from
Expand Down

0 comments on commit 6943561

Please sign in to comment.