# Gradio 5.29.1 — last known-good HF Space version per forum reports. # We tried 4.44.1 (HfFolder), 5.0.1 (Jinja2 cache bug), 6.18.0 (renders blank # with no error). 5.29.1 has none of those issues and is broadly used on # Spaces in 2026. # discuss.huggingface.co/t/gradio-sdk-5-31-0-fully-dysfunctional-api-on-huggingface # huggingface_hub<0.34 — gradio 5.29 oauth.py still imports HfFolder. # Pin fastapi to 0.112.2 — multiple forum reports of blank-page issues fixed # by this exact pin on HF Spaces in 2026. gradio==5.29.1 huggingface_hub>=0.23,<0.34 # OpenAI client — used as the SDK for the Modal-hosted vLLM endpoint openai>=1.40 # Pillow — chroma-key fallback paths, scene composition, sprite loading. # Listed even though most of the keying ran offline at build time: # the runtime still touches Pillow if a stray *_raw.png is the only # file present for a sprite. Pillow>=10.0 # cairosvg is OPTIONAL — convert mock SVG cards to PNG. The image # module gracefully falls back to raw SVG if it's not installed.