[Speech] Move all examples to new audio feature (#14045)
* up * up * up * finish
This commit is contained in:
committed by
GitHub
parent
4334095c32
commit
bdf31d6e0a
6
setup.py
6
setup.py
@@ -136,7 +136,7 @@ _deps = [
|
||||
"scikit-learn",
|
||||
"sentencepiece>=0.1.91,!=0.1.92",
|
||||
"sigopt",
|
||||
"soundfile",
|
||||
"librosa",
|
||||
"sphinx-copybutton",
|
||||
"sphinx-markdown-tables",
|
||||
"sphinx-rtd-theme==0.4.3", # sphinx-rtd-theme==0.5.0 introduced big changes in the style.
|
||||
@@ -251,10 +251,10 @@ extras["optuna"] = deps_list("optuna")
|
||||
extras["ray"] = deps_list("ray[tune]")
|
||||
extras["sigopt"] = deps_list("sigopt")
|
||||
|
||||
extras["integrations"] = extras["optuna"] + extras["ray"]+ extras["sigopt"]
|
||||
extras["integrations"] = extras["optuna"] + extras["ray"] + extras["sigopt"]
|
||||
|
||||
extras["serving"] = deps_list("pydantic", "uvicorn", "fastapi", "starlette")
|
||||
extras["audio"] = deps_list("soundfile")
|
||||
extras["audio"] = deps_list("librosa")
|
||||
extras["speech"] = deps_list("torchaudio") + extras["audio"] # `pip install ".[speech]"` is deprecated and `pip install ".[torch-speech]"` should be used instead
|
||||
extras["torch-speech"] = deps_list("torchaudio") + extras["audio"]
|
||||
extras["tf-speech"] = extras["audio"]
|
||||
|
||||
Reference in New Issue
Block a user