[Speech] Move all examples to new audio feature (#14045)

* up

* up

* up

* finish
This commit is contained in:
Patrick von Platen
2021-10-18 12:52:40 +02:00
committed by GitHub
parent 4334095c32
commit bdf31d6e0a
11 changed files with 43 additions and 108 deletions

View File

@@ -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"]