create-collection-add-model.sh 211 B

123456
  1. COLLECTION_SLUG=$(python ./create_collection.py --return-slug)
  2. echo "Created collection: $COLLECTION_SLUG"
  3. # Use it in the next command
  4. python add_model_to_collection.py "$COLLECTION_SLUG" "username/my-model"