Spaces:
Sleeping
Sleeping
Commit History
-
fix: pin starlette<0.40 for gradio 4.44 TemplateResponse compat
xzhou10starlette>=0.40 changed TemplateResponse signature from (name: str, context: dict) to (request, name, context). gradio 4.44 still calls the old form, so the new starlette interprets the second positional arg (the dict context) as 'name', and jinja2 then crashes at cache lookup with 'TypeError: unhashable type: dict' when looking up that dict as a template name. Pinning starlette<0.40 keeps the old signature path working until we upgrade gradio to 5.x (which uses the new signature).cf77118 -
fix: pin huggingface_hub<1.0 (gradio 4.44 imports removed HfFolder)
xzhou10huggingface_hub 1.x removed HfFolder which gradio 4.x oauth module imports unconditionally. Pin hub to 0.x series until we upgrade gradio to >=5 (which would also let us drop the python_version: 3.11 pin since gradio 5+ dropped pydub).147598c -
fix: drop pydub pin (0.25.2 doesn't exist on PyPI)
xzhou10The python_version: 3.11 frontmatter pin alone is enough — Python 3.11 ships the stdlib audioop module that gradio<5 / pydub need. The pydub>=0.25.2 pin was a mistake (max published version is 0.25.1) and caused the build to fail with 'No matching distribution found'.6bc74a6 -
fix: pin python_version=3.11 + audioop-lts shim for HF Space boot
xzhou10Python 3.13 removed the stdlib audioop module that pydub<0.25.2 imports during gradio startup. Two-layer fix: 1. README.md frontmatter pins python_version: "3.11" so HF Space provisions a Python that still ships audioop. 2. requirements.txt adds pydub>=0.25.2 (which ships its own audioop fallback) and audioop-lts as a guard for any Python>=3.13 fallback.224e834
-
Init RobustBench-TC leaderboard MVP with 18 seeded models
xzhou1037a1a73