mirror of
https://github.com/YuzuZensai/spleeter.git
synced 2026-01-30 12:22:58 +00:00
🐛 restore old input API
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user