fix ui/misc: None desc crash, ratio/tile/lora split guards, parse_metadtaa typo, moondream type guard

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
QualiaRain
2026-06-12 05:08:03 -04:00
parent 1cf715fac2
commit 9f2374f5ff
9 changed files with 26 additions and 13 deletions
+1 -1
View File
@@ -531,7 +531,7 @@ class YoloRestorer(Detailer):
def change_mode(self, dropdown, text):
self.ui_mode = not self.ui_mode
if self.ui_mode:
value = [val.split(':')[0].strip() for val in text.split(',')]
value = [val.split(':', 1)[0].strip() for val in text.split(',') if val.strip()]
return gr.update(visible=True, value=value), gr.update(visible=False), gr.update(visible=True)
else:
value = ', '.join(dropdown)