update
Browse files29 unmodified lines3031323334333435363729 unmodified lines if isinstance(block, gr.Blocks): block.render() else: # Handle the case where block is a function block().render() # Handle the case where block is a function by passing the model name block(name=model_name).render() else: gr.load(name=model_name, src=src, accept_token=accept_token, **kwargs) columns.append(column)utils.py+2-2