model / LoRA dropdown bug on initial start
I maybe found a bug with the LoRA dropdowns:
I'm running in a Google Colab machine with the following code:
!rm -rf /content/Fooocus
%cd /content
!git clone -b develop https://github.com/lllyasviel/Fooocus.git
%cd /content/Fooocus
!python entry_with_update.py --share --always-high-vram --all-in-fp16
Then click Advanced - Model and open the LoRA 1 dropdown with the sd_xl_offset_example-lora_1:
The dropdown itself only contains a 'None' value and after choosing 'None' and opening the dropdown again, the sd_xl_offset_example-lora_1 is gone forever:
It works again after clicking 'Refresh all files'.
Originally posted by @f0n51 in https://github.com/lllyasviel/Fooocus/discussions/2362#discussioncomment-8602289
This is i think a general issue already present in the main branch. Please double-check it there We might have to add an initial reload after lora/model download and first "cold boot"
https://github.com/lllyasviel/Fooocus/discussions/2362#discussioncomment-8604253
I can confirm now, that this is a bug in the main branch too :-)
resolved, took a while to get to the topic again but it works now