Spaces:
Running on Zero
Running on Zero
Upload folder using huggingface_hub
Browse files- backend/main.py +4 -0
backend/main.py
CHANGED
|
@@ -35,6 +35,10 @@ app.add_middleware(
|
|
| 35 |
allow_headers=["*"],
|
| 36 |
)
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
ablation_lock = threading.Lock()
|
| 39 |
|
| 40 |
# ── Generate synthetic test images for Vision mode ──
|
|
|
|
| 35 |
allow_headers=["*"],
|
| 36 |
)
|
| 37 |
|
| 38 |
+
@app.get("/")
|
| 39 |
+
def health_check():
|
| 40 |
+
return {"status": "running", "message": "Neural Archaeology API is active"}
|
| 41 |
+
|
| 42 |
ablation_lock = threading.Lock()
|
| 43 |
|
| 44 |
# ── Generate synthetic test images for Vision mode ──
|