About model storage in spaces

If you do from_pretrained once, it should be cached, so there should be no problem even if you don’t think about it. If you really want to put the file on the Spaces disk, you can use snapshot_download.

It used to be possible for us to put the model in the Spaces repository itself, but now you can only put up to a total of 1GB in the repository, so I don’t recommend uploading to the repository.