Spaces:
Paused
Paused
Commit ·
915d47f
1
Parent(s): 6c82ce3
Deploy RedNeural Docker Environment with Fixes
Browse files- setup_hf_space.sh +5 -0
setup_hf_space.sh
CHANGED
|
@@ -11,6 +11,11 @@ if [ ! -d ".git" ]; then
|
|
| 11 |
git branch -M main
|
| 12 |
fi
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
# Configurar Remote con Token explícito (desde variable de entorno)
|
| 15 |
REMOTE_URL="https://$HF_USER:$HF_TOKEN@huggingface.co/spaces/$HF_USER/$SPACE_NAME"
|
| 16 |
|
|
|
|
| 11 |
git branch -M main
|
| 12 |
fi
|
| 13 |
|
| 14 |
+
# Definir Token y Usuario
|
| 15 |
+
HF_TOKEN="${HF_TOKEN}"
|
| 16 |
+
HF_USER="ROBOT-GANSTA"
|
| 17 |
+
SPACE_NAME="robot-gansta-redneural"
|
| 18 |
+
|
| 19 |
# Configurar Remote con Token explícito (desde variable de entorno)
|
| 20 |
REMOTE_URL="https://$HF_USER:$HF_TOKEN@huggingface.co/spaces/$HF_USER/$SPACE_NAME"
|
| 21 |
|