mirror of
https://github.com/YuzuZensai/spleeter.git
synced 2026-01-31 14:58:23 +00:00
🐛 restore old input API
This commit is contained in:
@@ -89,7 +89,7 @@ def train(
|
|||||||
|
|
||||||
@spleeter.command()
|
@spleeter.command()
|
||||||
def separate(
|
def separate(
|
||||||
files: List[Path] = AudioInputArgument,
|
files: List[Path] = AudioInputOptions,
|
||||||
adapter: str = AudioAdapterOption,
|
adapter: str = AudioAdapterOption,
|
||||||
bitrate: str = AudioBitrateOption,
|
bitrate: str = AudioBitrateOption,
|
||||||
codec: Codec = AudioCodecOption,
|
codec: Codec = AudioCodecOption,
|
||||||
|
|||||||
@@ -16,8 +16,10 @@ __email__ = 'spleeter@deezer.com'
|
|||||||
__author__ = 'Deezer Research'
|
__author__ = 'Deezer Research'
|
||||||
__license__ = 'MIT License'
|
__license__ = 'MIT License'
|
||||||
|
|
||||||
AudioInputArgument: ArgumentInfo = Argument(
|
AudioInputOptions: ArgumentInfo = Argument(
|
||||||
...,
|
...,
|
||||||
|
'--inputs',
|
||||||
|
'-i',
|
||||||
help='List of input audio file path',
|
help='List of input audio file path',
|
||||||
exists=True,
|
exists=True,
|
||||||
file_okay=True,
|
file_okay=True,
|
||||||
|
|||||||
Reference in New Issue
Block a user