Spaces:
Running on Zero
Running on Zero
pin fastapi/pydantic for gradio 4.44.1
Browse files- requirements.txt +4 -1
requirements.txt
CHANGED
|
@@ -1,7 +1,10 @@
|
|
| 1 |
gradio==4.44.1
|
| 2 |
spaces
|
| 3 |
-
# gradio 4.44.1
|
|
|
|
| 4 |
huggingface_hub>=0.34,<1.0
|
|
|
|
|
|
|
| 5 |
transformers==4.57.1
|
| 6 |
torch
|
| 7 |
accelerate
|
|
|
|
| 1 |
gradio==4.44.1
|
| 2 |
spaces
|
| 3 |
+
# gradio 4.44.1 era stack: huggingface_hub 1.0 removed HfFolder; newer starlette changed TemplateResponse
|
| 4 |
+
# ("unhashable type: 'dict'"); pydantic >= 2.11 breaks gradio 4.x's JSON-schema handling
|
| 5 |
huggingface_hub>=0.34,<1.0
|
| 6 |
+
fastapi==0.112.2
|
| 7 |
+
pydantic==2.10.6
|
| 8 |
transformers==4.57.1
|
| 9 |
torch
|
| 10 |
accelerate
|