Gregor Betz commited on
Commit
18d8ad3
·
unverified ·
1 Parent(s): 39d02de
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -164,6 +164,7 @@ async def bot(
164
  # health check
165
  gr.Info("Checking availability and health of inference endpoints ...", duration=6)
166
  health_check = await guide.health_check()
 
167
 
168
  if health_check.get("status", None) != "ok":
169
  health_msg = " | ".join([f"{k}: {v}" for k, v in health_check.items()])
 
164
  # health check
165
  gr.Info("Checking availability and health of inference endpoints ...", duration=6)
166
  health_check = await guide.health_check()
167
+ await asyncio.sleep(1)
168
 
169
  if health_check.get("status", None) != "ok":
170
  health_msg = " | ".join([f"{k}: {v}" for k, v in health_check.items()])