sacruise commited on
Commit
6deb583
·
verified ·
1 Parent(s): 54283c8

Fix: pin pydantic<2.11.0 + api_name=generate for Gradio 5

Browse files
Files changed (1) hide show
  1. requirements.txt +4 -0
requirements.txt CHANGED
@@ -24,3 +24,7 @@ einops
24
 
25
  # Background removal model deps
26
  timm
 
 
 
 
 
24
 
25
  # Background removal model deps
26
  timm
27
+
28
+ # Pin pydantic to avoid schema bug with gradio_client
29
+ # (additionalProperties: true triggers TypeError in json_schema_to_python_type)
30
+ pydantic<2.11.0