Add a note that the experimental model downloader api will be removed.

This commit is contained in:
comfyanonymous 2024-09-26 03:17:52 -04:00
parent 037c3159b6
commit d72e871cfa
2 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#NOTE: This was an experiment and WILL BE REMOVED
from __future__ import annotations
import aiohttp
import os

View File

@ -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):