gustproof commited on
Commit
2f6b614
·
verified ·
1 Parent(s): 8edd9a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ print("starting...")
17
  print("loaded embs")
18
  model = torch.load(
19
  "style-extractor-v0.3.0.ckpt",
20
- map_location="cpu",
21
  )
22
  print("loaded extractor")
23
  with open("urls.txt") as f:
 
17
  print("loaded embs")
18
  model = torch.load(
19
  "style-extractor-v0.3.0.ckpt",
20
+ map_location="cpu", weights_only=False,
21
  )
22
  print("loaded extractor")
23
  with open("urls.txt") as f: