Duplicated from hysts/DeepDanbooru
94 unmodified lines95969798989910094 unmodified lines labels = load_labels() func = functools.partial(predict, model=model, labels=labels) func = functools.update_wrapper(func, predict) gr.Interface( func,