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