Spaces:
Sleeping
Sleeping
Commit ·
7d3e38d
1
Parent(s): 6408eec
fix: align Hub dependency with Gradio 6
Browse files- requirements.txt +1 -1
- tests/test_space_config.py +2 -0
requirements.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
gradio==6.20.0
|
| 2 |
-
huggingface-hub=
|
| 3 |
pandas==2.2.3
|
| 4 |
pillow==11.1.0
|
| 5 |
numpy==1.26.4
|
|
|
|
| 1 |
gradio==6.20.0
|
| 2 |
+
huggingface-hub>=1.2.0,<2.0
|
| 3 |
pandas==2.2.3
|
| 4 |
pillow==11.1.0
|
| 5 |
numpy==1.26.4
|
tests/test_space_config.py
CHANGED
|
@@ -11,6 +11,8 @@ def test_space_metadata_and_runtime_files():
|
|
| 11 |
assert "python_version: '3.11'" in readme
|
| 12 |
assert "app_file: app.py" in readme
|
| 13 |
assert "gradio==6.20.0" in requirements
|
|
|
|
|
|
|
| 14 |
assert "torch==2.11.0" in requirements
|
| 15 |
assert "torch==2.7.1" not in requirements
|
| 16 |
assert "lerobot.git@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5" in requirements
|
|
|
|
| 11 |
assert "python_version: '3.11'" in readme
|
| 12 |
assert "app_file: app.py" in readme
|
| 13 |
assert "gradio==6.20.0" in requirements
|
| 14 |
+
assert "huggingface-hub>=1.2.0,<2.0" in requirements
|
| 15 |
+
assert "huggingface-hub==0.36.2" not in requirements
|
| 16 |
assert "torch==2.11.0" in requirements
|
| 17 |
assert "torch==2.7.1" not in requirements
|
| 18 |
assert "lerobot.git@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5" in requirements
|