ego-thales commited on
Commit
49ce121
·
verified ·
1 Parent(s): a1b2f00

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -136,8 +136,8 @@ import torch
136
  stem = "https://huggingface.co/ego-thales/tiniest/resolve/main/tiniest"
137
 
138
  # Load the model (locally downloads `tiniest.py`)
139
- hash_prefix = "903fc8750cf9b17e136f56ee0282daa9163778b1e352bd9ea8f23d9ffccca7c1"
140
- torch.hub.download_url_to_file(f"{stem}.py", "tiniest.py", hash_prefix=hash_prefix)
141
  model = importlib.import_module("tiniest").Tiniest()
142
 
143
  # Load the weights
 
136
  stem = "https://huggingface.co/ego-thales/tiniest/resolve/main/tiniest"
137
 
138
  # Load the model (locally downloads `tiniest.py`)
139
+ checksum = "903fc8750cf9b17e136f56ee0282daa9163778b1e352bd9ea8f23d9ffccca7c1"
140
+ torch.hub.download_url_to_file(f"{stem}.py", "tiniest.py", hash_prefix=checksum)
141
  model = importlib.import_module("tiniest").Tiniest()
142
 
143
  # Load the weights