A newer version of the Gradio SDK is available:
6.2.0
Quick HF Pro Deployment Checklist
β YES, You Can Host This on Hugging Face Pro!
What You Need:
- β HF Pro account ($9/month) - YOU HAVE THIS
- β Additional GPU costs (~$10-30/month for personal use)
- β Files ready to upload
5-Minute Setup
1. Create Space (2 min)
huggingface.co/spaces β "Create new Space"
Name: nerf-3d-reconstruction
SDK: Gradio
Visibility: PRIVATE β οΈ
Hardware: CPU basic (change later)
2. Upload Files (1 min)
β
app.py (rename app-10.py)
β
requirements.txt
β
packages.txt
β
README.md
3. Change Hardware (1 min)
Settings β Hardware β A10G Small
Cost: ~$1.05/hour
Save
4. Wait for Build (10 min)
Watch Logs tab
Wait for: "Running on local URL: http://0.0.0.0:7860"
5. Test (45 min)
Upload video β Process β Download model
Expected Costs
Your Situation (HF Pro):
| Scenario | Cost/Month |
|---|---|
| Pro subscription | $9 (already paid) |
| 10 reconstructions | +$10-15 GPU |
| Total | ~$20-25/month |
Cost per Reconstruction:
- T4: $0.60/hour Γ 0.75hr = ~$0.45
- A10G: $1.05/hour Γ 0.75hr = ~$0.80
- A100: $3/hour Γ 0.5hr = ~$1.50
Critical Settings
β οΈ MUST DO:
- Visibility: PRIVATE (avoid unexpected costs)
- Sleep timeout: 15 minutes (auto-pause)
- GPU: A10G Small (best value)
β οΈ DON'T DO:
- β Make it Public (anyone can use = $$$)
- β Use CPU (won't work for NeRF)
- β Forget to monitor costs
Will It Work?
β YES, Because:
- HF Pro has longer timeouts
- GPU hardware available
- 20-45 min processing fits within limits
- COLMAP can be installed via packages.txt
β οΈ Limitations:
- One user at a time (single GPU)
- Costs add up with heavy use
- Still takes 20-45 minutes per video
Files Ready to Deploy
All files are in /mnt/user-data/outputs/:
- β requirements.txt
- β requirements-zerogpu.txt (don't use this)
- β packages.txt
- β HF_PRO_DEPLOYMENT.md (full guide)
Just need:
- β Rename app-10.py β app.py
- β Create simple README.md
Recommended Configuration
Space Name: nerf-3d-reconstruction
SDK: Gradio 4.0
Hardware: A10G Small
Visibility: Private
Sleep: 15 min
Monthly cost: ~$20-30 total (including Pro)
Next Steps
- Create Space on HF
- Upload files
- Set to A10G Small + Private
- Test with one video
- Monitor costs for a week
- Adjust as needed
Time to deploy: 15 minutes Time to first result: 30-60 minutes
Quick FAQ
Q: Can I use ZeroGPU instead? A: β NO - ZeroGPU times out after 60 seconds, your app needs 20-45 minutes
Q: Can I make it Public? A: β οΈ Not recommended - you'll pay for everyone's usage
Q: What if I run out of credits? A: Add payment method, HF will charge your card for GPU usage
Q: Can I pause the Space when not using? A: β Yes - auto-sleeps after 15 min, or manually pause in settings
Q: Will COLMAP work? A: β Yes - packages.txt installs it automatically
π Ready to deploy? Start with the 5-minute setup above!
See HF_PRO_DEPLOYMENT.md for detailed instructions.