조은비 Claude Opus 4.7 commited on
Commit
f54642f
·
1 Parent(s): a0a09af

pin gradio 4.44.1 and starlette<0.40 to fix TemplateResponse error

Browse files

gradio 4.44.0 calls TemplateResponse with old signature; starlette 0.40+
changed it, causing "unhashable type: dict" in jinja2 template cache.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

Files changed (1) hide show
  1. requirements.txt +2 -1
requirements.txt CHANGED
@@ -1,4 +1,5 @@
1
- gradio>=4.44.0
 
2
  huggingface_hub<1.0.0
3
  openai>=1.0.0
4
  python-dotenv>=1.0.0
 
1
+ gradio==4.44.1
2
+ starlette<0.40
3
  huggingface_hub<1.0.0
4
  openai>=1.0.0
5
  python-dotenv>=1.0.0