Fix HuggingFace URL to use /resolve/main/ instead of /blob/main/

This commit is contained in:
Arseniy Romenskiy 2026-04-12 02:11:19 +03:00
parent fb2d114d38
commit ca578b93de

View file

@ -570,7 +570,7 @@
: 'Fetching config from HuggingFace...';
loadingIndicator.style.display = 'block';
const url = `https://huggingface.co/${modelName}/blob/main/config.json`;
const url = `https://huggingface.co/${modelName}/resolve/main/config.json`;
try {
const response = await fetch(url);