Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ class BertForSTS(torch.nn.Module):
|
|
49 |
#x = self.fc2(x)
|
50 |
|
51 |
return x
|
52 |
-
model_load_path = "
|
53 |
model = BertForSTS()
|
54 |
model.load_state_dict(torch.load(model_load_path, map_location=torch.device('cpu')))
|
55 |
model.to(device)
|
|
|
49 |
#x = self.fc2(x)
|
50 |
|
51 |
return x
|
52 |
+
model_load_path = "https://drive.google.com/file/d/1KaFaeoMAkRcJdhXe77ibmwqz6pseAqkj/view?usp=sharing"
|
53 |
model = BertForSTS()
|
54 |
model.load_state_dict(torch.load(model_load_path, map_location=torch.device('cpu')))
|
55 |
model.to(device)
|