Spaces:
Paused
Paused
Update start.sh
Browse files
start.sh
CHANGED
|
@@ -93,10 +93,10 @@ ls -la "$HF_HUB_CACHE" || echo "Cache n茫o encontrado ap贸s download."
|
|
| 93 |
if nvidia-smi >/dev/null 2>&1; then
|
| 94 |
if [ "${DISABLE_BUILDER:-0}" -eq 0 ]; then
|
| 95 |
echo "Executando builder Apex/Q8..."
|
| 96 |
-
# Use o builder revisado (salve como /app/builder
|
| 97 |
-
if [ -f /app/builder
|
| 98 |
-
chmod +x /app/builder
|
| 99 |
-
timeout "${BUILDER_TIMEOUT_SEC:-7200}" bash -lc /app/builder
|
| 100 |
else
|
| 101 |
chmod +x /app/builder.sh || true
|
| 102 |
timeout "${BUILDER_TIMEOUT_SEC:-7200}" bash -lc /app/builder.sh || echo "Builder excedeu tempo/erro, prosseguindo."
|
|
|
|
| 93 |
if nvidia-smi >/dev/null 2>&1; then
|
| 94 |
if [ "${DISABLE_BUILDER:-0}" -eq 0 ]; then
|
| 95 |
echo "Executando builder Apex/Q8..."
|
| 96 |
+
# Use o builder revisado (salve como /app/builder.sh)
|
| 97 |
+
if [ -f /app/builder.sh ]; then
|
| 98 |
+
chmod +x /app/builder.sh
|
| 99 |
+
timeout "${BUILDER_TIMEOUT_SEC:-7200}" bash -lc /app/builder.sh || echo "Builder excedeu tempo/erro, prosseguindo."
|
| 100 |
else
|
| 101 |
chmod +x /app/builder.sh || true
|
| 102 |
timeout "${BUILDER_TIMEOUT_SEC:-7200}" bash -lc /app/builder.sh || echo "Builder excedeu tempo/erro, prosseguindo."
|