Open galavera opened 7 months ago
Will look into it, thanks!
Do you know which spacy model was the app trying to download?
Cheers!
Will look into it, thanks!
Do you know which spacy model was the app trying to download?
Cheers!
when searching for models based on language (en) using the original link it would return an error, so no model was found or downloaded.
Somehow the '?per_page=100' was messing it up. I removed it on a whim and that resolved the issue and it was able to find a model and download it.
https://github.com/octimot/StoryToolkitAI/blob/836d5b8dce45459968a623d378bb2e137c26dbf5/storytoolkitai/core/toolkit_ops/textanalysis.py#L114
I was getting this error
logger.error('Could not fetch the list of available spaCy models from {}. ' 'Please check your internet connection.'.format(url))
I had to change the url on line 114 to this.url = "https://api.github.com/repos/explosion/spacy-models/releases"
I basically just removed
?per_page=100
at the end and I was able to auto download the spacy model after that adjustment.