Skip to content

Commit

Permalink
fixed re-download projector everytime
Browse files Browse the repository at this point in the history
  • Loading branch information
qiqiWav committed Nov 18, 2024
1 parent 413e03e commit 66df516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nexa/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def pull_model(model_path, hf = False, **kwargs):
if result["success"]:
# Only add to model list if not using custom download path
model_path = model_path if not hf else f"{model_path}:{result['local_path'].split('/')[-1]}"
if not kwargs.get('local_download_path') and 'projector' not in model_path.lower():
if not kwargs.get('local_download_path'):
add_model_to_list(model_path, result["local_path"], result["model_type"], result["run_type"])

if hf:
Expand Down

0 comments on commit 66df516

Please sign in to comment.