lingyunfly
2023-03-14 6f7990b2c945249b0d97b749f171cfb82198c893
funasr/tasks/asr.py
@@ -1244,3 +1244,10 @@
        return model
class ASRTaskAligner(ASRTaskParaformer):
    @classmethod
    def required_data_names(
            cls, train: bool = True, inference: bool = False
    ) -> Tuple[str, ...]:
        retval = ("speech", "text")
        return retval