This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """JP AI Hub Dashboard v4 — Multi-page: Live | Architecture | Tasks""" | |
| import http.server, json, os, socket, ssl, time, urllib.request, urllib.error | |
| from datetime import datetime | |
| PORT = int(os.environ.get("PORT", 9090)) | |
| OR_KEY = os.environ.get("OPENROUTER_PROVISION_KEY", "") | |
| ZION_GPU = os.environ.get("ZION_GPU_URL", "http://192.168.50.199:9091") | |
| LITELLM_URL= os.environ.get("LITELLM_URL", "http://litellm:4000") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """JP AI Hub Dashboard v4 — Multi-page: Live | Architecture | Tasks""" | |
| import http.server, json, os, socket, ssl, time, urllib.request, urllib.error | |
| from datetime import datetime | |
| PORT = int(os.environ.get("PORT", 9090)) | |
| OR_KEY = os.environ.get("OPENROUTER_PROVISION_KEY", "") | |
| ZION_GPU = os.environ.get("ZION_GPU_URL", "http://192.168.50.199:9091") | |
| LITELLM_URL= os.environ.get("LITELLM_URL", "http://litellm:4000") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """JP AI Hub — Status Dashboard v3""" | |
| import json, socket, http.client, urllib.request, time, os, subprocess, shutil | |
| ZION_LAN = os.environ.get("ZION_LAN", "192.168.50.199") | |
| OLLAMA_URL = f"http://{ZION_LAN}:11434" | |
| COMFYUI_URL = f"http://{ZION_LAN}:8188" | |
| ZION_GPU_URL = os.environ.get("ZION_GPU_URL", f"http://{ZION_LAN}:9091") | |
| OR_KEY = os.environ.get("OPENROUTER_PROVISION_KEY", "") |