AndrewRqy commited on
Commit ·
b00b689
1
Parent(s): b63724f
Bump to Gradio 6.18 — drops dependency pins; current stable HF Spaces line
Browse filesFiles changed (2)
- README.md+1-1
- requirements.txt+7-16
3 unmodified lines456789103 unmodified linescolorFrom: indigocolorTo: yellowsdk: gradiosdk_version: 4.44.1python_version: "3.10"suggested_hardware: cpu-basicapp_file: app.py3 unmodified lines456789103 unmodified linescolorFrom: indigocolorTo: yellowsdk: gradiosdk_version: 6.18.0python_version: "3.10"suggested_hardware: cpu-basicapp_file: app.py
12345678910111213141516171819# Gradio frontend.# Roll back to 4.44.1 — the version this app was developed against. Gradio 5# rendered the simple probe but not the full Blocks tree; reverting to 4.44.1# matches the local dev environment exactly so the production Space matches# what was tested locally.# Pin huggingface_hub<0.34 — gradio 4.44 oauth.py imports HfFolder which# was removed from huggingface_hub in 0.34.# Pin starlette<0.40 — starlette 0.40 changed TemplateResponse's signature# (request is now the first positional arg), and gradio 4.44 still uses# the old signature. Without this, every HTTP request triggers# TypeError: unhashable type: 'dict' inside Jinja2.# Pin jinja2<3.1.5 — defense-in-depth on the LRUCache key shape.gradio==4.44.1huggingface_hub>=0.23,<0.34starlette<0.40jinja2<3.1.5# OpenAI client — used as the SDK for the Modal-hosted vLLM endpointopenai>=1.4012345678910# Gradio 6.x — the current stable line as of 2026-06. Bumping from the# 4.x / 5.x lines avoids three known-bad interactions with the rest of HF's# Space environment in 2026 (HfFolder removal, Starlette TemplateResponse# signature change, Jinja2 LRUCache key strictness). Gradio 6 pins compatible# versions of huggingface_hub / starlette / jinja2 / fastapi internally so# we don't need to over-constrain them.gradio>=6.0,<7# OpenAI client — used as the SDK for the Modal-hosted vLLM endpointopenai>=1.40
README.md+1-1
requirements.txt+7-16