Description
if huggingface is not available then it will cause an error at startup and the inability to start even if has a local cache
File "/home/user/Software/artGen/inference_rudalle.py", line 66, in init
self.dalle = get_rudalle_model(self.model, pretrained=True, fp16=True, cache_dir=cache_dir, device=device)
File "/home/user/.local/lib/python3.8/site-packages/rudalle/dalle/init.py", line 92, in get_rudalle_model
cached_download(config_file_url, cache_dir=cache_dir, force_filename=config['filename'])
File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 352, in cached_download
r.raise_for_status()
File "/home/user/.local/lib/python3.8/site-packages/requests/models.py", line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://huggingface.co/sberbank-ai/rudalle-Malevich/resolve/main/pytorch_model_v2.bin