Spaces:
Running
Running
Remove Control Center clone; UI is Vercel, API is hvac-agents
Browse files- README.md +5 -15
- index.html +11 -39
README.md
CHANGED
|
@@ -1,24 +1,14 @@
|
|
| 1 |
---
|
| 2 |
-
title: HVAC
|
| 3 |
emoji: 🌡️
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: indigo
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
-
short_description:
|
| 9 |
---
|
| 10 |
|
| 11 |
-
# HVAC
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
- Sliders and KPIs are **GUIDE_POTENTIAL** only — not measured building savings.
|
| 16 |
-
- No live BMS, no production writes.
|
| 17 |
-
- The full Next.js + FastAPI Docker app (simulation mode) is in [`huggingface-space/Dockerfile`](https://github.com/suban-godugu/hvac/tree/main/huggingface-space) on GitHub.
|
| 18 |
-
|
| 19 |
-
Hugging Face hosts **Static** Spaces for free. **Docker** Spaces (the full app) require a [PRO](https://huggingface.co/pro) subscription. After upgrading:
|
| 20 |
-
|
| 21 |
-
```bash
|
| 22 |
-
hf repos create <you>/hvac-optimization --type space --sdk docker --public
|
| 23 |
-
# upload repo with huggingface-space/Dockerfile as the Space Dockerfile
|
| 24 |
-
```
|
|
|
|
| 1 |
---
|
| 2 |
+
title: HVAC API
|
| 3 |
emoji: 🌡️
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: indigo
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
short_description: Agents API lives in the hvac-agents model repo
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# HVAC — UI is not hosted here
|
| 12 |
|
| 13 |
+
Next.js Control Center → **Vercel**.
|
| 14 |
+
Backend + agents → **[subhan07/hvac-agents](https://huggingface.co/subhan07/hvac-agents)**.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
index.html
CHANGED
|
@@ -3,45 +3,17 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="utf-8" />
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
| 6 |
-
<title>HVAC
|
| 7 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
</head>
|
| 9 |
-
<body
|
| 10 |
-
<
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
<div>
|
| 15 |
-
<div style="font-size:13px;font-weight:600;color:#f8fafc;line-height:1">HVAC AI</div>
|
| 16 |
-
<div class="muted" style="font-size:11px;margin-top:4px">Skyline Corporate Center · Bengaluru</div>
|
| 17 |
-
</div>
|
| 18 |
-
</div>
|
| 19 |
-
<div style="display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end">
|
| 20 |
-
<span class="badge badge-danger">BMS OFFLINE</span>
|
| 21 |
-
<span class="badge badge-warn">TEL SIMULATED</span>
|
| 22 |
-
<span class="badge badge-muted">ADVISORY</span>
|
| 23 |
-
<span class="badge badge-danger">SAFETY HOLD</span>
|
| 24 |
-
<span class="mono muted" style="font-size:10px">WRITE OFF</span>
|
| 25 |
-
</div>
|
| 26 |
-
</div>
|
| 27 |
-
</header>
|
| 28 |
-
<div class="hvac-body">
|
| 29 |
-
<aside class="hvac-sidebar">
|
| 30 |
-
<div style="padding:14px 16px;border-bottom:1px solid rgba(255,255,255,0.06)">
|
| 31 |
-
<div class="muted" style="font-size:10px;font-weight:600;letter-spacing:0.18em;text-transform:uppercase">Control Center</div>
|
| 32 |
-
<div style="font-size:11px;color:#cbd5e1;margin-top:2px">Twenty supervisory opportunities</div>
|
| 33 |
-
</div>
|
| 34 |
-
<nav id="sidebar"></nav>
|
| 35 |
-
<div style="border-top:1px solid rgba(255,255,255,0.06);padding:10px 12px;display:flex;gap:8px;background:#070c16">
|
| 36 |
-
<span class="badge badge-muted">BMS OFFLINE</span>
|
| 37 |
-
<span class="badge badge-warn">TEL SIMULATED</span>
|
| 38 |
-
</div>
|
| 39 |
-
</aside>
|
| 40 |
-
<main class="hvac-main">
|
| 41 |
-
<div style="max-width:1600px;margin:0 auto" id="root">Loading…</div>
|
| 42 |
-
</main>
|
| 43 |
-
</div>
|
| 44 |
-
<script src="physics.js"></script>
|
| 45 |
-
<script src="app.js"></script>
|
| 46 |
</body>
|
| 47 |
</html>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="utf-8" />
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
| 6 |
+
<title>HVAC agents API</title>
|
| 7 |
+
<style>
|
| 8 |
+
body { font-family: Segoe UI, system-ui, sans-serif; background: #05080f; color: #e2e8f0; margin: 0; padding: 3rem 1.5rem; line-height: 1.5; }
|
| 9 |
+
a { color: #22d3ee; }
|
| 10 |
+
code { background: #121c2e; padding: 0.1em 0.4em; border-radius: 4px; }
|
| 11 |
+
</style>
|
| 12 |
</head>
|
| 13 |
+
<body>
|
| 14 |
+
<h1>HVAC agents — no Control Center here</h1>
|
| 15 |
+
<p>The Next.js UI is deployed on <strong>Vercel</strong>. This Space is not the product frontend.</p>
|
| 16 |
+
<p>Backend + O1–O20 agents: <a href="https://huggingface.co/subhan07/hvac-agents">huggingface.co/subhan07/hvac-agents</a></p>
|
| 17 |
+
<p>To run the API on Hugging Face you need a Docker Space (PRO). Until then run <code>uvicorn backend.main:app --port 8000</code> locally and point Vercel <code>HVAC_API_ORIGIN</code> at that host.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
</body>
|
| 19 |
</html>
|