Pybunny commited on
Commit
1ead483
·
verified ·
1 Parent(s): 5ae3b00

Revert gradio + strip schema-breaking kwargs

Browse files
Files changed (1) hide show
  1. requirements.txt +3 -5
requirements.txt CHANGED
@@ -1,11 +1,9 @@
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
 
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