dashscope sympy Pillow==9.5.0 gradio==3.50.2 # gradio 3.50.2's routes.py calls Starlette's old # TemplateResponse(name, context) positional signature. Modern Starlette # (bundled with the current ZeroGPU base image) swapped to # TemplateResponse(request, name, context) -- under the old call convention # the dict `context` lands in the `name` slot, and Jinja2's template cache # then tries to hash that dict -> `TypeError: unhashable type: 'dict'` on # every request to "/". Pin an older, gradio-3.50.2-compatible Starlette/ # FastAPI pair to match what this SDK version actually expects. starlette==0.27.0 fastapi==0.104.1 # fastapi 0.104.1 uses pydantic's old FieldInfo API (field_info.in_); the base # image otherwise installs pydantic 2.13.x which removed it -> at Blocks() # construction: AttributeError: 'FieldInfo' object has no attribute 'in_'. # Pin pydantic to the release fastapi 0.104.1 / gradio 3.50.2 were built against. pydantic==2.4.2 opencv-python omegaconf sentencepiece easydict scikit-image git+https://github.com/facebookresearch/segment-anything.git torch torchvision oss2==2.17.0