mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
disable_log
This commit is contained in:
parent
9c5f00794e
commit
08e6f946aa
@ -88,7 +88,7 @@ def prepare_data_iterator(data_in, input_len=None, data_type=None, key=None):
|
||||
class AutoModel:
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
if kwargs.get("disable_log", False):
|
||||
if not kwargs.get("disable_log", False):
|
||||
tables.print()
|
||||
|
||||
model, kwargs = self.build_model(**kwargs)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user