voice-detection-api / README.md
arshan123's picture
Added GPU ability
f826ca0
---
title: Voice Detection Api
emoji: 🐠
colorFrom: purple
colorTo: blue
sdk: docker
pinned: false
license: mit
short_description: AI vs Human Voice Detection
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
## Reducing latency on Hugging Face Spaces
- **Hardware:** In the Space **Settings → Hardware**, choose **Nvidia T4 small** (~$0.40/hr). This typically cuts inference from ~30s (CPU) to ~2–4s.
- **Code:** The app already uses the GPU when available and loads models in **float16** on CUDA for faster T4 inference. No extra code changes are required.
- **Cost:** Billing is per minute. Pause the Space when you’re not demoing or coding to avoid charges.