Spaces:
Running
on
Zero
Running
on
Zero
Catch OSError while trying to load cached model
#28
by
AmosHason
- opened
Fixes this:
File "/mnt/d/Documents/Workspace/audioEditing/models.py", line 536, in __init__
self.model = StableAudioPipeline.from_pretrained(self.model_id, token=self.token, local_files_only=True
OSError: We couldn't connect to 'https://huggingface.co' to load this model, couldn't find it in the cached files and it looks like *** is not the path to a directory containing a model_index.json file.