提交 69a4f947 编写于 作者: F Faylixe

🐛 restore old input API

上级 555bd17f
......@@ -89,7 +89,7 @@ def train(
@spleeter.command()
def separate(
files: List[Path] = AudioInputArgument,
files: List[Path] = AudioInputOptions,
adapter: str = AudioAdapterOption,
bitrate: str = AudioBitrateOption,
codec: Codec = AudioCodecOption,
......
......@@ -16,8 +16,10 @@ __email__ = 'spleeter@deezer.com'
__author__ = 'Deezer Research'
__license__ = 'MIT License'
AudioInputArgument: ArgumentInfo = Argument(
AudioInputOptions: ArgumentInfo = Argument(
...,
'--inputs',
'-i',
help='List of input audio file path',
exists=True,
file_okay=True,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册