Spaces:
Running
Running
Update app.py
Browse files
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:
|