Skip to content

Commit

Permalink
use python3.9 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
badGarnet committed Apr 3, 2024
1 parent 95e0059 commit 397613a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unstructured_inference/models/base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import json
import os
from typing import Dict, Optional, Tuple, Type
from typing import Dict, Optional, Tuple, Type, Union

from unstructured_inference.models.chipper import MODEL_TYPES as CHIPPER_MODEL_TYPES
from unstructured_inference.models.chipper import UnstructuredChipperModel
Expand All @@ -25,7 +25,7 @@
def get_default_model_mappings() -> (
Tuple[
Dict[str, Type[UnstructuredModel]],
Dict[str, dict | LazyDict],
Dict[str, Union[dict, LazyDict]],
]
):
"""default model mappings for models that are in `unstructured_inference` repo"""
Expand Down

0 comments on commit 397613a

Please sign in to comment.