Gosula commited on
Commit
d7be2f6
1 Parent(s): d7a841b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ y = mnist.target.astype('int64')
12
  X /= 255.0
13
 
14
 
15
- device = 'cuda' if torch.cuda.is_available() else 'cpu'
16
  XCnn = X.reshape(-1, 1, 28, 28)
17
  XCnn_train, XCnn_test, y_train, y_test = train_test_split(XCnn, y, test_size=0.25, random_state=42)
18
 
 
12
  X /= 255.0
13
 
14
 
15
+ #device = 'cuda' if torch.cuda.is_available() else 'cpu'
16
  XCnn = X.reshape(-1, 1, 28, 28)
17
  XCnn_train, XCnn_test, y_train, y_test = train_test_split(XCnn, y, test_size=0.25, random_state=42)
18