🐛 restore old input API

This commit is contained in:
Faylixe
2020-12-18 16:18:47 +01:00
parent 555bd17f3b
commit 69a4f947e3
2 changed files with 4 additions and 2 deletions

View File

@@ -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,

View File

@@ -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,