We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86c9bc1 commit cf2c129Copy full SHA for cf2c129
1 file changed
lightllm/utils/multimodal_utils.py
@@ -27,9 +27,7 @@ def __init__(self, maxsize: int = 256):
27
def _normalize_url(url: str) -> str:
28
return url.strip()
29
30
- async def get_or_create(
31
- self, url: str, proxy: Optional[str], loader: Callable[[], Awaitable[bytes]]
32
- ) -> bytes:
+ async def get_or_create(self, url: str, proxy: Optional[str], loader: Callable[[], Awaitable[bytes]]) -> bytes:
33
key = (self._normalize_url(url), proxy)
34
35
async with self._lock:
0 commit comments