from fastapi import FastAPI from fastapi.responses import HTMLResponse import logging # Set up logging logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) # Initialize FastAPI app app = FastAPI() # Serve HTML page @app.get("/", response_class=HTMLResponse) async def serve_html(): logger.info("Serving HTML page") return """