mirror of
https://github.com/BoardWare-Genius/jarvis-models.git
synced 2025-12-14 00:53:25 +00:00
feat: runtime
This commit is contained in:
@ -15,7 +15,7 @@ class ASR(Blackbox):
|
||||
self.paraformer = RapidParaformer(config)
|
||||
super().__init__(config)
|
||||
|
||||
async def processing(self, data: any):
|
||||
async def processing(self, data: bytes):
|
||||
results = self.paraformer([BytesIO(data)])
|
||||
if len(results) == 0:
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user