The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Add relative file path to the progress report. (#4621)
Robin Huang70b84058c173
diff --git a/server.py b/server.pyindex a7902c623..d8a9916bb 100644--- a/server.py+++ b/server.py@@ -586,7 +586,9 @@ class PromptServer():@routes.post("/internal/models/download")async def download_handler(request):async def report_progress(filename: str, status: DownloadModelStatus):- await self.send_json("download_progress", status.to_dict())+ payload = status.to_dict()+ payload['download_path'] = filename+ await self.send_json("download_progress", payload)data = await request.json()url = data.get('url')