llama-cpp-compiled / examples /model-conversion /scripts /utils /create-collection-add-model.sh
Felipe97's picture
Upload folder using huggingface_hub (part 7)
1e18f83 verified
Raw History Blame Contribute Delete
232 Bytes
#!/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"