From d72e871cfa9a602680e3074e8bd58e827dd31bcb Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Thu, 26 Sep 2024 03:17:52 -0400 Subject: [PATCH] Add a note that the experimental model downloader api will be removed. --- model_filemanager/download_models.py | 1 + server.py | 1 + 2 files changed, 2 insertions(+) diff --git a/model_filemanager/download_models.py b/model_filemanager/download_models.py index 5ffec395..6722b6e1 100644 --- a/model_filemanager/download_models.py +++ b/model_filemanager/download_models.py @@ -1,3 +1,4 @@ +#NOTE: This was an experiment and WILL BE REMOVED from __future__ import annotations import aiohttp import os diff --git a/server.py b/server.py index f1971f2d..c7bf6622 100644 --- a/server.py +++ b/server.py @@ -679,6 +679,7 @@ class PromptServer(): # Internal route. Should not be depended upon and is subject to change at any time. # TODO(robinhuang): Move to internal route table class once we refactor PromptServer to pass around Websocket. + # NOTE: This was an experiment and WILL BE REMOVED @routes.post("/internal/models/download") async def download_handler(request): async def report_progress(filename: str, status: DownloadModelStatus):