Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dicklesworthstone committed May 20, 2024
1 parent a669b0d commit 220a653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ def validate_bnf_grammar_func(grammar):
return False, f"Used rule {rule} is not defined."
return True, "Valid BNF Grammar"

def convert_document_to_sentences_func(file_path: str, mime_type: str) -> Dict[str, Any]:
async def convert_document_to_sentences_func(file_path: str, mime_type: str) -> Dict[str, Any]:
sentences = await parse_submitted_document_file_into_sentence_strings_func(file_path, mime_type)
total_number_of_sentences = len(sentences)
total_input_file_size_in_bytes = os.path.getsize(file_path)
Expand Down

0 comments on commit 220a653

Please sign in to comment.