Replaced default value from None to empty string to avoid tensorflow error

This commit is contained in:
romi1502
2021-02-25 17:57:40 +01:00
parent 4ef593dc94
commit 75583e0222

View File

@@ -307,7 +307,7 @@ class Separator(object):
return prediction
def separate(
self, waveform: np.ndarray, audio_descriptor: Optional[str] = None
self, waveform: np.ndarray, audio_descriptor: Optional[str] = ""
) -> None:
"""
Performs separation on a waveform.