Gregor Betz
commited on
logging
Browse files
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()])
|