Spaces:
Sleeping
Sleeping
Download deployment/controller/LoadModel.py from ShadowTEM/Heart_attack: direct link, hf CLI and curl.
- Browser
- Download file 152 Bytes
-
https://huggingface.co/spaces/ShadowTEM/Heart_attack/resolve/main/deployment/controller/LoadModel.py
- Command line
-
hf download hf://spaces/ShadowTEM/Heart_attack/deployment/controller/LoadModel.py
-
curl -L -o LoadModel.py https://huggingface.co/spaces/ShadowTEM/Heart_attack/resolve/main/deployment/controller/LoadModel.py
152 Bytes
| import pickle | |
| def LoadModel(file_path: str): | |
| with open(file_path, 'rb') as file: | |
| loaded_model = pickle.load(file) | |
| return loaded_model |