Some checks are pending
Copilot Setup Steps / copilot-setup-steps (push) Waiting to run
Check Pre-Tokenizer Hashes / pre-tokenizer-hashes (push) Waiting to run
Python check requirements.txt / check-requirements (push) Waiting to run
Python Type-Check / python type-check (push) Waiting to run
Update Operations Documentation / update-ops-docs (push) Waiting to run
9 lines
232 B
Bash
9 lines
232 B
Bash
|
|
#!/usr/bin/env bash
|
|
|
|
COLLECTION_SLUG=$(python ./create_collection.py --return-slug)
|
|
echo "Created collection: $COLLECTION_SLUG"
|
|
|
|
# Use it in the next command
|
|
python add_model_to_collection.py "$COLLECTION_SLUG" "username/my-model"
|