MidnightRunner commited on
Commit
814c3cb
·
verified ·
1 Parent(s): 00fa320

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -65,7 +65,7 @@ To fix it safely, add this code before loading:
65
  import torch
66
  torch.serialization.add_safe_globals([set])
67
  ```
68
- This whitelists set and allows safe loading with weights_only=True.
69
 
70
  Otherwise, never disable weights_only unless you 100% trust the file.
71
 
 
65
  import torch
66
  torch.serialization.add_safe_globals([set])
67
  ```
68
+ This whitelists set and allows safe loading with `weights_only=True`.
69
 
70
  Otherwise, never disable weights_only unless you 100% trust the file.
71