AndrewRqy commited on
Commit ·
93e98ec
1
Parent(s): 115b4a3
Re-add huggingface_hub<0.34 pin — gradio 5.0.x
Browse files12345678# Gradio frontend. Pinned to 5.x — 4.44 has a Jinja2 cache-key bug# (TypeError: unhashable type: 'dict') that fires on every HTTP request# with the Jinja2 version HF Spaces installs in 2026, and also drags# along the HfFolder import that newer huggingface_hub removed.gradio>=5.0,<6# OpenAI client — used as the SDK for the Modal-hosted vLLM endpointopenai>=1.401234567891011# Gradio frontend. Pinned to 5.x — 4.44 has a Jinja2 cache-key bug# (TypeError: unhashable type: 'dict') that fires on every HTTP request# with the Jinja2 version HF Spaces installs in 2026.# Also pin huggingface_hub<0.34 because gradio 5.0.x oauth.py still imports# HfFolder, which was removed from huggingface_hub in 0.34. The pin gives# us the import compatibility while keeping the Gradio 5 runtime fixes.gradio>=5.0,<6huggingface_hub>=0.23,<0.34# OpenAI client — used as the SDK for the Modal-hosted vLLM endpointopenai>=1.40
requirements.txt+5-2