We do accept larger files, but you have to handle them as lfs
files. We also recommend using our models section and separating the model file from the Space demo Uploading models
However, in both cases, you need to track the large file with git lfs track "*.h5"
. Please check your repo i.e. .gitattributes
and also make sure your git history doesn’t already include the h5.