Spaces:
Sleeping
Sleeping
| import os | |
| import asyncio | |
| from fastapi import FastAPI | |
| from botsignal import start_bot_background | |
| app = FastAPI(title="Telegram Curator Health") | |
| async def startup(): | |
| await start_bot_background() | |
| async def root(): | |
| return {"status": "ok"} | |
| async def health(): | |
| return {"healthy": True} | |