Skip to content

Commit

Permalink
fixed type bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Filimoa committed Nov 13, 2024
1 parent f8d9716 commit 8125c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openparse/processing/semantic_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(
self.batch_size = batch_size
self.client = self._create_client()

def embed_many(self, texts: list[str]) -> list[list[float]]:
def embed_many(self, texts: List[str]) -> List[List[float]]:
res = []
non_empty_texts = [text for text in texts if text]

Expand Down

0 comments on commit 8125c35

Please sign in to comment.