g0-detector / deploy.sh
aphoticshaman's picture
Upload folder using huggingface_hub
36571e1 verified
#!/bin/bash
# Deploy G0 Hallucination Detector to Hugging Face Spaces
# Login (opens browser)
huggingface-cli login
# Create and push space
huggingface-cli repo create g0-detector --type space --space_sdk gradio -y
git init
git remote add origin https://huggingface.co/spaces/$HF_USERNAME/g0-detector
git add .
git commit -m "Initial deploy: G0 Hallucination Detector"
git push -u origin main
echo "Done! Your space will be live at: https://huggingface.co/spaces/$HF_USERNAME/g0-detector"