Resolved (the space built correctly finally but not sure what the issue was or what fixed it):
Hi, I am using the following transformer in the linked space and in previous days had no issues but am encountering troubles now. The logs show:
Downloading (…)lve/main/config.json: 0%| | 0.00/793 [00:00<?, ?B/s]
Downloading (…)lve/main/config.json: 100%|██████████| 793/793 [00:00<00:00, 445kB/s]
As you can see, the first download never begins and the space hangs until eventually erroring due to timeout. I don’t have any issues when running the same code locally and had no issues with this in my space yesterday (no changes were made that affected this transformer and the repo it is being pulled from hasn’t been updated in 2 weeks).
mood_model = ViTForImageClassification.from_pretrained("jayanta/google-vit-base-patch16-224-cartoon-emotion-detection") mood_model.eval() mood_model.to(device) mood_feature_extractor = ViTImageProcessor.from_pretrained("jayanta/google-vit-base-patch16-224-cartoon-emotion-detection")