1
0
Fork 0

pass context to client ctor

This commit is contained in:
Sean Sube 2023-12-10 12:16:01 -06:00
parent 3b32cd4ac3
commit 9b883de1cb
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ def fetch_model(
for proto, client_type in model_sources.items(): for proto, client_type in model_sources.items():
if source.startswith(proto): if source.startswith(proto):
client = client_type() client = client_type(conversion)
return client.download( return client.download(
conversion, name, source, format=format, dest=dest, **kwargs conversion, name, source, format=format, dest=dest, **kwargs
) )