Spaces:
Sleeping
Sleeping
xzhou10 commited on
Commit ·
6bc74a6
1
Parent(s): 224e834
fix: drop pydub pin (0.25.2 doesn't exist on PyPI)
Browse filesThe python_version: 3.11 frontmatter pin alone is enough — Python 3.11
ships the stdlib audioop module that gradio<5 / pydub need. The
pydub>=0.25.2 pin was a mistake (max published version is 0.25.1) and
caused the build to fail with 'No matching distribution found'.
- requirements.txt +2 -5
requirements.txt
CHANGED
|
@@ -1,8 +1,5 @@
|
|
| 1 |
gradio==4.44.0
|
| 2 |
pandas>=2.1
|
| 3 |
huggingface_hub>=0.24
|
| 4 |
-
#
|
| 5 |
-
#
|
| 6 |
-
# of the runtime Python version chosen by HF.
|
| 7 |
-
pydub>=0.25.2
|
| 8 |
-
audioop-lts; python_version >= "3.13"
|
|
|
|
| 1 |
gradio==4.44.0
|
| 2 |
pandas>=2.1
|
| 3 |
huggingface_hub>=0.24
|
| 4 |
+
# python_version: "3.11" in README.md frontmatter ensures the runtime ships
|
| 5 |
+
# the stdlib audioop module that gradio<5 / pydub imports. No extra pin needed.
|
|
|
|
|
|
|
|
|