Spaces:
Runtime error
Runtime error
Have the model as a separate model repository
#1
by
merve
HF staff
- opened
It would be better to load the model from a Hugging Face model repository instead of having it inside the Space
For additional info, the huggingface_hub
Python library allows programmatically downloading model files. So for example, you can use hf_hub_download
to download the file from the model repository.
See https://huggingface.co/docs/huggingface_hub/guides/download for more documentation