Spaces:
Sleeping
Sleeping
File size: 711 Bytes
1c19b2e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #!/bin/bash
# Setup script for Hugging Face Space
# Copy model files to huggingface directory
echo "Copying model files..."
cp -r ../public/models/model18cls ./model18cls
echo "Done! Now you can:"
echo "1. Create a new Space on huggingface.co/new-space"
echo "2. Select 'Docker' as the SDK"
echo "3. Select 'GPU' hardware (T4 is free)"
echo "4. Upload all files from this directory"
echo ""
echo "Or use the HF CLI:"
echo " huggingface-cli login"
echo " huggingface-cli repo create shia-brain --type space --space_sdk docker"
echo " cd huggingface && git init && git remote add origin https://huggingface.co/spaces/YOUR_USERNAME/shia-brain"
echo " git add . && git commit -m 'Initial commit' && git push"
|