Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wd14tagger.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ async def download_model(model, client_id, node):
url = config["models"][model]
url = url.replace("{HF_ENDPOINT}", hf_endpoint)
url = f"{url}/resolve/main/"
async with aiohttp.ClientSession(loop=asyncio.get_event_loop()) as session:
async with aiohttp.ClientSession(loop=asyncio.get_event_loop(), trust_env=True) as session:
async def update_callback(perc):
nonlocal client_id
message = ""
Expand Down