MCPcopy Create free account
hub / github.com/modelscope/FunASR / __call__

Method __call__

funasr/auto/auto_model.py:430–440  ·  view source on GitHub ↗

Internal: call . Args: *args: Variable positional arguments. **cfg: Configuration overrides.

(self, *args, **cfg)

Source from the content-addressed store, hash-verified

428 return model, kwargs
429
430 def __call__(self, *args, **cfg):
431 """Internal: call .
432
433 Args:
434 *args: Variable positional arguments.
435 **cfg: Configuration overrides.
436 """
437 kwargs = self.kwargs
438 deep_update(kwargs, cfg)
439 res = self.model(*args, kwargs)
440 return res
441
442 def generate(self, input, input_len=None, progress_callback=None, **cfg):
443 """Run speech recognition on input audio.

Callers

nothing calls this directly

Calls 1

deep_updateFunction · 0.90

Tested by

no test coverage detected