avantikalal commited on
Commit
1ca264f
·
verified ·
1 Parent(s): 2e92d6f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -37,6 +37,6 @@ ckpt_path = hf_hub_download(
37
  filename="model.ckpt"
38
  )
39
 
40
- model = LightningModel.load_from_checkpoint(ckpt_path)
41
  model.eval()
42
  ```
 
37
  filename="model.ckpt"
38
  )
39
 
40
+ model = LightningModel.load_from_checkpoint(ckpt_path, weights_only=False)
41
  model.eval()
42
  ```