File size: 507 Bytes
36571e1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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"