aboutsummaryrefslogtreecommitdiff
path: root/llama.cpp/examples/model-conversion/scripts/utils/create-collection-add-model.sh
blob: 485001b5feeccefff460fc961415cd702acbd19e (plain)
1
2
3
4
5
6
7
8

#!/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"