Dean van Dugteren 59c6511494
fix: fallback model_checkpoint if it's empty
This fixes the following error when SD attempts to start with a deleted checkpoint:

```
Traceback (most recent call last):
  File "D:\Web\stable-diffusion-webui\launch.py", line 295, in <module>
    start()
  File "D:\Web\stable-diffusion-webui\launch.py", line 290, in start
    webui.webui()
  File "D:\Web\stable-diffusion-webui\webui.py", line 132, in webui
    initialize()
  File "D:\Web\stable-diffusion-webui\webui.py", line 62, in initialize
    modules.sd_models.load_model()
  File "D:\Web\stable-diffusion-webui\modules\sd_models.py", line 283, in load_model
    checkpoint_info = checkpoint_info or select_checkpoint()
  File "D:\Web\stable-diffusion-webui\modules\sd_models.py", line 117, in select_checkpoint
    checkpoint_info = checkpoints_list.get(model_checkpoint, None)
TypeError: unhashable type: 'list'
```
2022-12-11 17:08:51 +01:00
..
2022-12-09 23:03:06 +09:00
2022-09-05 23:08:06 +03:00
2022-12-03 18:06:33 +03:00
2022-11-17 00:08:21 -05:00
2022-12-03 18:06:33 +03:00
2022-09-07 12:32:28 +03:00
2022-12-03 18:45:51 +03:00
2022-12-03 18:06:33 +03:00
2022-11-11 21:14:10 +07:00
2022-11-26 16:10:46 +03:00
2022-10-19 11:52:12 +03:00