Spaces:
Build error
Build error
| # 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! 🚀 | |