mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-09 23:12:02 +00:00
update pyright
This commit is contained in:
parent
fc71e900a0
commit
02f3c46e2e
6
poetry.lock
generated
6
poetry.lock
generated
|
@ -1976,13 +1976,13 @@ plugins = ["importlib-metadata"]
|
|||
|
||||
[[package]]
|
||||
name = "pyright"
|
||||
version = "1.1.332"
|
||||
version = "1.1.333"
|
||||
description = "Command line wrapper for pyright"
|
||||
optional = false
|
||||
python-versions = ">=3.7"
|
||||
files = [
|
||||
{file = "pyright-1.1.332-py3-none-any.whl", hash = "sha256:4802bdc603f165ccfb84338ef850e90181abbb621028b09b81ec8aa5e97dfae2"},
|
||||
{file = "pyright-1.1.332.tar.gz", hash = "sha256:a47f760c2f00aa9f593f78a7b22f98b22a9b9e1952d6a31dbed91842ca47b0b3"},
|
||||
{file = "pyright-1.1.333-py3-none-any.whl", hash = "sha256:f0a7b7b0cac11c396b17ef3cf6c8527aca1269edaf5cf8203eed7d6dd1ef52aa"},
|
||||
{file = "pyright-1.1.333.tar.gz", hash = "sha256:1c49b0029048120c4378f3baf6c1dcbbfb221678bb69654fe773c514430ac53c"},
|
||||
]
|
||||
|
||||
[package.dependencies]
|
||||
|
|
|
@ -77,7 +77,7 @@ def facebook_sam_h_predictor(facebook_sam_h: FacebookSAM) -> FacebookSAMPredicto
|
|||
from segment_anything import SamPredictor # type: ignore
|
||||
from segment_anything.modeling import Sam # type: ignore
|
||||
|
||||
predictor = SamPredictor(cast(Sam, facebook_sam_h))
|
||||
predictor = SamPredictor(cast(Sam, facebook_sam_h)) # type: ignore
|
||||
return cast(FacebookSAMPredictor, predictor)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue