Commit a664e0ca authored by Yoach Lacombe's avatar Yoach Lacombe
Browse files

update version and dependencies

parent cda6bd09
__version__ = "0.1"
from .configuration_parler_tts import ParlerTTSConfig, ParlerTTSDecoderConfig from .configuration_parler_tts import ParlerTTSConfig, ParlerTTSDecoderConfig
from .modeling_parler_tts import ( from .modeling_parler_tts import (
ParlerTTSForCausalLM, ParlerTTSForCausalLM,
......
# Copyright 2023 The HuggingFace Team. All rights reserved. # Copyright 2024 The HuggingFace Team. All rights reserved.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
...@@ -12,21 +12,15 @@ ...@@ -12,21 +12,15 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import os import os
import setuptools import setuptools
_deps = [ _deps = [
"transformers>=4.34.0", "transformers>=4.34.0",
"datasets[audio]>=2.14.5",
"torch", "torch",
"accelerate",
"evaluate",
"sentencepiece", "sentencepiece",
"descript-audio-codec", "descript-audio-codec",
"jiwer",
] ]
_extras_dev_deps = [ _extras_dev_deps = [
...@@ -35,6 +29,14 @@ _extras_dev_deps = [ ...@@ -35,6 +29,14 @@ _extras_dev_deps = [
"ruff>=0.0.241,<=0.0.259", "ruff>=0.0.241,<=0.0.259",
] ]
_extras_training_deps = [
"jiwer",
"wandb",
"accelerate",
"evaluate",
"datasets[audio]>=2.14.5",
]
here = os.path.abspath(os.path.dirname(__file__)) here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "README.md"), encoding="utf-8") as f: with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
...@@ -59,5 +61,6 @@ setuptools.setup( ...@@ -59,5 +61,6 @@ setuptools.setup(
install_requires=_deps, install_requires=_deps,
extras_require={ extras_require={
"dev": [_extras_dev_deps], "dev": [_extras_dev_deps],
"train": [_extras_training_deps],
}, },
) )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment