"""Probe: confirm sdk: gradio Spaces autoboot a gradio.Server app. Push this as the only Python file in a throwaway Space copy with sdk: gradio and verify both routes return 200. If they do, the design's sdk: gradio assumption holds and we proceed. If they don't, halt and execute fallback 2a (plain FastAPI host) per the spec. """ import gradio from fastapi.responses import HTMLResponse app = gradio.Server() @app.get("/", response_class=HTMLResponse) async def index(): return "