Aliashraf commited on
Commit
862e923
·
verified ·
1 Parent(s): d620bf3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -131,6 +131,6 @@ async def ask_question(query: str):
131
  async def health_check():
132
  """Health check endpoint."""
133
  logger.info("Health check requested.")
134
- # Add slight delay to ensure stability
135
- time.sleep(0.5)
136
  return {"status": "API is running"}
 
131
  async def health_check():
132
  """Health check endpoint."""
133
  logger.info("Health check requested.")
134
+ # Add delay to ensure server stability
135
+ time.sleep(1)
136
  return {"status": "API is running"}