update
Browse files32 unmodified lines3334353637383932 unmodified lines# 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)model.change(32 unmodified lines333435363738394041424332 unmodified lines# Handle the case where block is a function by passing the model nameblock(name=model_name).render()else:# If src is a function, call it directly with the model nameif callable(src):src(model_name, accept_token).render()else:gr.load(name=model_name, src=src, accept_token=accept_token, **kwargs)columns.append(column)model.change(
utils.py+5-1