fix pull model name

This commit is contained in:
Michael Yang
2023-06-30 11:54:46 -07:00
parent e69a08f1b1
commit 3ce3caaf65
2 changed files with 10 additions and 10 deletions

View File

@@ -151,7 +151,7 @@ def pull(*args, **kwargs):
def run(*args, **kwargs):
name = model.pull(*args, **kwargs)
name = model.pull(model_name=kwargs.pop('model'), *args, **kwargs)
kwargs.update({"model": name})
print(f"Running {name}...")
generate(*args, **kwargs)