Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions clarifai/cli/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,8 @@ def _ensure_hf_token(ctx, model_path):
if 'checkpoints' not in config:
config['checkpoints'] = {}
config["checkpoints"]["hf_token"] = hf_token
except click.Abort:
raise
except Exception as e:
logger.warning(f"Unexpected error ensuring HF_TOKEN: {e}")

Expand Down
Loading