Spaces:
Build error
Build error
File size: 785 Bytes
69b5a3f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
# Instrucciones de Despliegue
## Archivos listos para subir a HuggingFace Spaces
Este directorio contiene todos los archivos necesarios para desplegar en HF Spaces.
### Pasos:
1. **Crear Space en HuggingFace**:
- Ve a: https://huggingface.co/new-space
- SDK: **Docker**
- Hardware: CPU basic (gratis)
2. **Configurar HF_TOKEN**:
- Settings → Variables and secrets
- Nombre: `HF_TOKEN`
- Valor: tu token de HuggingFace
- Marcar como Secret
3. **Subir archivos**:
```bash
git clone https://huggingface.co/spaces/TU-USUARIO/TU-SPACE
cd TU-SPACE
cp -r ../hf_space_ready/* .
git add .
git commit -m "Initial deployment"
git push
```
4. **Verificar**:
```bash
curl https://TU-USUARIO-TU-SPACE.hf.space/health
```
¡Listo! 🚀
|