update
Browse files32 unmodified lines33343536373839364041424332 unmodified lines # Handle the case where block is a function by passing the model name block(name=model_name).render() else: # If src is a function, call it directly with the model name if callable(src): src(model_name, accept_token).render() else: gr.load(name=model_name, src=src, accept_token=accept_token, **kwargs) gr.load(name=model_name, src=src, accept_token=accept_token, **kwargs) columns.append(column)
model.change(utils.py+5-1