Revert gradio + strip schema-breaking kwargs
Browse files- requirements.txt +3 -5
requirements.txt
CHANGED
|
@@ -1,11 +1,9 @@
|
|
| 1 |
torch>=2.1
|
| 2 |
numpy>=1.24
|
| 3 |
matplotlib>=3.7
|
| 4 |
-
|
| 5 |
-
#
|
| 6 |
-
|
| 7 |
-
gradio>=5.0,<6
|
| 8 |
-
huggingface_hub>=0.24,<2.0
|
| 9 |
# Pull the nilmbench package from the companion GitHub repo so the Space's
|
| 10 |
# "Benchmark your model" tab reuses the same runner/evaluator/report code.
|
| 11 |
nilmbench @ git+https://github.com/Saharmgh/NILMbench@main
|
|
|
|
| 1 |
torch>=2.1
|
| 2 |
numpy>=1.24
|
| 3 |
matplotlib>=3.7
|
| 4 |
+
gradio==4.44.0
|
| 5 |
+
# Pin <1.0: huggingface_hub 1.x dropped HfFolder which gradio 4.x still imports.
|
| 6 |
+
huggingface_hub>=0.24,<1.0
|
|
|
|
|
|
|
| 7 |
# Pull the nilmbench package from the companion GitHub repo so the Space's
|
| 8 |
# "Benchmark your model" tab reuses the same runner/evaluator/report code.
|
| 9 |
nilmbench @ git+https://github.com/Saharmgh/NILMbench@main
|