Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,6 +16,9 @@ app = FastAPI(
|
|
| 16 |
description="LLM-driven intent & API flow engine (bootstrap)",
|
| 17 |
)
|
| 18 |
|
|
|
|
|
|
|
|
|
|
| 19 |
# ---------------- Health probe (HF Spaces watchdog) -----------------
|
| 20 |
@app.get("/")
|
| 21 |
def health_check():
|
|
|
|
| 16 |
description="LLM-driven intent & API flow engine (bootstrap)",
|
| 17 |
)
|
| 18 |
|
| 19 |
+
from spark_startup import run_in_thread
|
| 20 |
+
run_in_thread()
|
| 21 |
+
|
| 22 |
# ---------------- Health probe (HF Spaces watchdog) -----------------
|
| 23 |
@app.get("/")
|
| 24 |
def health_check():
|