mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Pydantic handles the casting so this is always safe. Also de-duplicate some validation logic code that was needlessly duplicated.
Pydantic handles the casting so this is always safe. Also de-duplicate some validation logic code that was needlessly duplicated.