Spaces:
Sleeping
Sleeping
Update main.py
Browse files267 unmodified lines268269270271272273274267 unmodified linesreturn {"status": "online", "engine": "Deepcastle Hybrid Neural", "platform": "Hugging Face Spaces"}@app.get("/health")def health():if not os.path.exists(DEEPCASTLE_ENGINE_PATH):return {"status": "error", "message": "Missing engine binary: deepcastle"}267 unmodified lines268269270271272273274267 unmodified linesreturn {"status": "online", "engine": "Deepcastle Hybrid Neural", "platform": "Hugging Face Spaces"}@app.api_route("/health", methods=["GET", "HEAD"])def health():if not os.path.exists(DEEPCASTLE_ENGINE_PATH):return {"status": "error", "message": "Missing engine binary: deepcastle"}
main.py+1-1