diff --git a/server.py b/server.py index a7902c62..d8a9916b 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')