petter2025 commited on
Commit
f8082d8
·
verified ·
1 Parent(s): 434be37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -9
app.py CHANGED
@@ -401,12 +401,6 @@ oss_caps = {
401
  "enterprise_features": ["Real-time HMC (using PyMC)", "Hyperpriors", "Decision Engine"]
402
  }
403
 
404
- # ----------------------------------------------------------------------
405
- # Health endpoint (async)
406
- # ----------------------------------------------------------------------
407
- async def health_endpoint():
408
- return {"status": "healthy", "timestamp": datetime.utcnow().isoformat()}
409
-
410
  # ----------------------------------------------------------------------
411
  # Startup
412
  # ----------------------------------------------------------------------
@@ -541,9 +535,6 @@ with gr.Blocks(title="ARF v4 – Bayesian Risk Scoring Demo") as demo:
541
  outputs=[hmc_summary, hmc_trace_plot, hmc_pair_plot]
542
  )
543
 
544
- # Add health endpoint using the underlying FastAPI app
545
- demo.fastapi_app.add_api_route("/health", health_endpoint, methods=["GET"])
546
-
547
  if __name__ == "__main__":
548
  demo.queue()
549
  demo.launch(theme="soft", server_name="0.0.0.0", server_port=7860)
 
401
  "enterprise_features": ["Real-time HMC (using PyMC)", "Hyperpriors", "Decision Engine"]
402
  }
403
 
 
 
 
 
 
 
404
  # ----------------------------------------------------------------------
405
  # Startup
406
  # ----------------------------------------------------------------------
 
535
  outputs=[hmc_summary, hmc_trace_plot, hmc_pair_plot]
536
  )
537
 
 
 
 
538
  if __name__ == "__main__":
539
  demo.queue()
540
  demo.launch(theme="soft", server_name="0.0.0.0", server_port=7860)