llama.cpp/examples/model-conversion/scripts/utils/create-collection-add-model.sh

7 lines
211 B
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"