Spaces:
Sleeping
Sleeping
root commited on
Commit ·
1b7c85a
1
Parent(s): 68e73aa
Fix: Add HuggingFace Metadata and switch to Port 7860
Browse files- Dockerfile +2 -2
- README.md +9 -0
- nexus.py +2 -2
Dockerfile
CHANGED
|
@@ -18,8 +18,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 18 |
# 5. Salin seluruh tubuh Xarvionex ke dalam server
|
| 19 |
COPY . .
|
| 20 |
|
| 21 |
-
# 6. Buka jalur komunikasi Otak (Port
|
| 22 |
-
EXPOSE
|
| 23 |
|
| 24 |
# 7. PERINTAH SAKTI: Jalankan Nexus Orchestrator
|
| 25 |
# Nexus v1.2 Anda sudah pintar, dia akan otomatis pakai mode Cloud
|
|
|
|
| 18 |
# 5. Salin seluruh tubuh Xarvionex ke dalam server
|
| 19 |
COPY . .
|
| 20 |
|
| 21 |
+
# 6. Buka jalur komunikasi Otak (Port 7860)
|
| 22 |
+
EXPOSE 7860
|
| 23 |
|
| 24 |
# 7. PERINTAH SAKTI: Jalankan Nexus Orchestrator
|
| 25 |
# Nexus v1.2 Anda sudah pintar, dia akan otomatis pakai mode Cloud
|
README.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# XARVIONEX: Phase 1.5 (Genesis Protocol)
|
| 2 |
|
| 3 |
> **"A Self-Constructing Cyber-Organism Architecture"**
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Xarvionex Core
|
| 3 |
+
emoji: 🧠
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: gray
|
| 6 |
+
sdk: docker
|
| 7 |
+
pinned: false
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
# XARVIONEX: Phase 1.5 (Genesis Protocol)
|
| 11 |
|
| 12 |
> **"A Self-Constructing Cyber-Organism Architecture"**
|
nexus.py
CHANGED
|
@@ -180,7 +180,7 @@ def main():
|
|
| 180 |
sys.executable, "-m", "uvicorn",
|
| 181 |
"core.api.main:app",
|
| 182 |
"--host", "0.0.0.0",
|
| 183 |
-
"--port", "
|
| 184 |
]
|
| 185 |
|
| 186 |
# Jalankan Core
|
|
@@ -189,7 +189,7 @@ def main():
|
|
| 189 |
processes["CORTEX"] = p_core
|
| 190 |
|
| 191 |
# Tunggu Health Check
|
| 192 |
-
if wait_for_health_check("http://localhost:
|
| 193 |
log("CORTEX", "Core Logic Online & Synced.", "SUCCESS")
|
| 194 |
else:
|
| 195 |
log("CORTEX", "Core Failure. Check configuration.", "ERROR")
|
|
|
|
| 180 |
sys.executable, "-m", "uvicorn",
|
| 181 |
"core.api.main:app",
|
| 182 |
"--host", "0.0.0.0",
|
| 183 |
+
"--port", "7860"
|
| 184 |
]
|
| 185 |
|
| 186 |
# Jalankan Core
|
|
|
|
| 189 |
processes["CORTEX"] = p_core
|
| 190 |
|
| 191 |
# Tunggu Health Check
|
| 192 |
+
if wait_for_health_check("http://localhost:7860/health"):
|
| 193 |
log("CORTEX", "Core Logic Online & Synced.", "SUCCESS")
|
| 194 |
else:
|
| 195 |
log("CORTEX", "Core Failure. Check configuration.", "ERROR")
|