Net Zhang commited on
Fix #32: revert gradio pin to unblock HF build (#33)
Browse filesHF Spaces' build wrapper appends gradio==<sdk_version> (currently 6.5.1
per README.md) to the pip install command. The gradio>=5,<6 pin from #30
collides with that, causing ResolutionImpossible at HF build time.
The actual runtime fix from #30 is the ssr_mode=False argument to
demo.launch, which is left unchanged. The requirements.txt pin was a
defensive belt-and-braces that conflicts with HF's own pin and should
not have been added.
- requirements.txt +1 -1
requirements.txt
CHANGED
|
@@ -5,7 +5,7 @@ numpy
|
|
| 5 |
pybioclip
|
| 6 |
faiss-cpu
|
| 7 |
duckdb
|
| 8 |
-
gradio
|
| 9 |
Pillow
|
| 10 |
requests
|
| 11 |
huggingface_hub
|
|
|
|
| 5 |
pybioclip
|
| 6 |
faiss-cpu
|
| 7 |
duckdb
|
| 8 |
+
gradio
|
| 9 |
Pillow
|
| 10 |
requests
|
| 11 |
huggingface_hub
|