(l)
| 317 | |
| 318 | |
| 319 | def list_unets(l): |
| 320 | model = modelmanager.available_models() |
| 321 | for k, v in model.items(): |
| 322 | if v[0]["config"].lora: |
| 323 | continue |
| 324 | label = "{} ({})".format(k, v[0]["base_model"]) if v[0]["config"].lora else k |
| 325 | l.append(TrtUnetOption(label, v)) |
| 326 | |
| 327 | |
| 328 | script_callbacks.on_list_unets(list_unets) |
nothing calls this directly
no test coverage detected