Spaces:
Runtime error
Runtime error
Update model.py
Browse files
model.py
CHANGED
@@ -51,7 +51,7 @@ class PointerNetworks(nn.Module):
|
|
51 |
else:
|
52 |
print('rnn_type should be LSTM,GRU')
|
53 |
|
54 |
-
self.use_cuda =
|
55 |
|
56 |
self.nnSELU = nn.SELU()
|
57 |
|
|
|
51 |
else:
|
52 |
print('rnn_type should be LSTM,GRU')
|
53 |
|
54 |
+
self.use_cuda = False
|
55 |
|
56 |
self.nnSELU = nn.SELU()
|
57 |
|