Skip to content

Commit

Permalink
Add a note that the experimental model downloader api will be removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
comfyanonymous committed Sep 26, 2024
1 parent 037c315 commit d72e871
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions model_filemanager/download_models.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#NOTE: This was an experiment and WILL BE REMOVED
from __future__ import annotations
import aiohttp
import os
Expand Down
1 change: 1 addition & 0 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,7 @@ async def post_history(request):

# 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):
Expand Down

0 comments on commit d72e871

Please sign in to comment.