import sys output_types = sys.argv[1:] print("## ControlNet Canny Comparison") print("") # header print("|seed|", end="") for ot in output_types: print(f"{ot}|", end="") print("") print("|", end="") for _ in range(len(output_types) + 1): print("---|", end="") print("") def get_url(path): #url = "./canny/" url = 'https://huggingface.co/takuma104/controlnet_dev/resolve/main/model_compare/canny/' return url + path for seed in range(32): print(f"|{seed}|", end="") for ot in output_types: url = get_url(path=f"{ot}/output_{seed:02d}.png") print(f'|', end="") print("")