File size: 724 Bytes
aeaab4b
 
 
 
 
 
 
 
 
 
 
 
f826ca0
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
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.