Fix HuggingFace URL to use /resolve/main/ instead of /blob/main/
This commit is contained in:
parent
fb2d114d38
commit
ca578b93de
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue