Spaces:
Running on Zero
Running on Zero
github-actions[bot] commited on
Commit ·
fe88632
1
Parent(s): ded713d
deploy: switch to chatterbox requirements @ d66b11b
Browse files- pyproject.toml +15 -4
- uv.lock +0 -0
pyproject.toml
CHANGED
|
@@ -34,15 +34,26 @@ dependencies = [
|
|
| 34 |
]
|
| 35 |
|
| 36 |
[project.optional-dependencies]
|
| 37 |
-
#
|
| 38 |
-
#
|
| 39 |
-
#
|
| 40 |
-
#
|
|
|
|
| 41 |
omnivoice = ["omnivoice>=0.1.4"]
|
| 42 |
|
| 43 |
[tool.uv]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
override-dependencies = [
|
| 45 |
# onnxruntime 1.24.x metadata claims py3.10 support but no 3.10 wheels
|
| 46 |
# ship on PyPI — force resolution to the last version that has 3.10 wheels.
|
| 47 |
"onnxruntime<1.24",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
]
|
|
|
|
| 34 |
]
|
| 35 |
|
| 36 |
[project.optional-dependencies]
|
| 37 |
+
# HF Spaces install from requirements-{cbox,omni}.txt and ignore these.
|
| 38 |
+
# Locally: `uv sync --extra chatterbox` installs the PyPI chatterbox-tts
|
| 39 |
+
# (we skip-worktree the vendored ./chatterbox/ folder so it doesn't shadow
|
| 40 |
+
# the PyPI package). `--extra omnivoice` is heavier and optional.
|
| 41 |
+
chatterbox = ["chatterbox-tts>=0.1.7"]
|
| 42 |
omnivoice = ["omnivoice>=0.1.4"]
|
| 43 |
|
| 44 |
[tool.uv]
|
| 45 |
+
# Declare chatterbox and omnivoice extras as mutually exclusive so uv
|
| 46 |
+
# doesn't try to resolve them into one lockfile view.
|
| 47 |
+
conflicts = [
|
| 48 |
+
[{ extra = "chatterbox" }, { extra = "omnivoice" }],
|
| 49 |
+
]
|
| 50 |
override-dependencies = [
|
| 51 |
# onnxruntime 1.24.x metadata claims py3.10 support but no 3.10 wheels
|
| 52 |
# ship on PyPI — force resolution to the last version that has 3.10 wheels.
|
| 53 |
"onnxruntime<1.24",
|
| 54 |
+
# chatterbox-tts==0.1.7 pins gradio==6.8.0, but app.py needs >=6.12.0
|
| 55 |
+
# for gradio.Server. Override so the extras can coexist in a lockfile;
|
| 56 |
+
# gradio is only loaded by app.py (HF), so the local chatterbox install
|
| 57 |
+
# never exercises gradio code.
|
| 58 |
+
"gradio>=6.12.0",
|
| 59 |
]
|
uv.lock
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|