BrokenSource / DepthFlow

🌊 Image to → 2.5D Parallax Effect Video. A Free and Open Source ImmersityAI alternative
https://brokensrc.dev
GNU Affero General Public License v3.0
221 stars 16 forks source link

WebUI not opening, error with long traceback of pydantic and starlette validation #39

Open Tremeschin opened 2 weeks ago

Tremeschin commented 2 weeks ago

In case people from FastAPI reads here, v0.114.2 doesn't fix it for older versions of Gradio, my releases are broken


Explanation

The versions of DepthFlow v0.6.0 asks for gradio==4.22 ('==' as they change it so much), but let it specify a FastAPI version as it wishes; Gradio simply asks for 'fastapi' dependency (open as a zip and go to /gradio-4.22.0.dist-info/METADATA) and it'll download latest one (0.144.2 at the time)

However, recent versions of it, more specifically later versions of v0.112.4 (release Sep 5) introduced a regression https://github.com/fastapi/fastapi/issues/12133 and apparently broke Path inputs on Gradio apps

Sidenote: I'll pin to "equals" versions of fastapi and other deps in the future, at least for binary releases, to avoid this

curlysasha commented 2 weeks ago

same

Tremeschin commented 1 day ago

I know it's been two weeks, but I'm very close to a 0.7 release after fixing some technical debt (+lots of improvements). I'll overhaul the webui to something useful and write the remaining examples doc page, test and push a 0.7 release !