Skip to content

Commit

Permalink
Add comment to not reply on internal.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Aug 9, 2024
1 parent cf774c6 commit bc85c0d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,9 @@ async def post_history(request):

return web.Response(status=200)

@routes.post("/models/download")
# 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.
@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())
Expand Down

0 comments on commit bc85c0d

Please sign in to comment.