Spaces:
Running on Zero
Running on Zero
Fix: pin pydantic<2.11.0 + api_name=generate for Gradio 5
Browse files- 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
|