mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-10 03:47:14 +02:00
Here is a more robust fix for task restoration in dnd.js. Task restoration will fail if the JSON contains "use_face_correction": false, which can happen under some circumstances. The fix checks if the filename passed to getModelPath is actually a string, which covers both the previous scenario (filename === null) and this new one (filename === false).