Upgrade to gradio 5.x
Browse files- requirements.txt +5 -3
requirements.txt
CHANGED
|
@@ -1,9 +1,11 @@
|
|
| 1 |
torch>=2.1
|
| 2 |
numpy>=1.24
|
| 3 |
matplotlib>=3.7
|
| 4 |
-
gradio
|
| 5 |
-
#
|
| 6 |
-
|
|
|
|
|
|
|
| 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
|
|
|
|
| 1 |
torch>=2.1
|
| 2 |
numpy>=1.24
|
| 3 |
matplotlib>=3.7
|
| 4 |
+
# gradio 5.x: 4.44.x hits a json-schema introspection bug
|
| 5 |
+
# (TypeError: argument of type 'bool' is not iterable) when more than a few
|
| 6 |
+
# components are wired to a click handler, which prevents launch().
|
| 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
|