Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ optimizer = torch.optim.Adam(params = model.parameters(), lr=LEARNING_RATE)
|
|
63 |
|
64 |
|
65 |
|
66 |
-
model = torch.load("
|
67 |
|
68 |
|
69 |
def get_predict(title, abstract):
|
|
|
63 |
|
64 |
|
65 |
|
66 |
+
model = torch.load("bert_distilbert.bin", map_location=torch.device('cpu'))
|
67 |
|
68 |
|
69 |
def get_predict(title, abstract):
|