shivambhosale commited on
Commit
a98ddcd
1 Parent(s): 2284e35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,9 +1,8 @@
 
1
  import torch # ; print('Using torch version -', torch.__version__)
2
  if torch.cuda.is_available():
3
- print('CUDA is available')
4
  device = 'cuda'
5
  else:
6
- print('CUDA NOT available')
7
  device = 'cpu'
8
  from torch.nn import Module, Conv2d, ReLU, ModuleList, MaxPool2d, ConvTranspose2d, BCELoss, BCEWithLogitsLoss, functional as F
9
  from torch.optim import Adam
 
1
+ from UNet import *
2
  import torch # ; print('Using torch version -', torch.__version__)
3
  if torch.cuda.is_available():
 
4
  device = 'cuda'
5
  else:
 
6
  device = 'cpu'
7
  from torch.nn import Module, Conv2d, ReLU, ModuleList, MaxPool2d, ConvTranspose2d, BCELoss, BCEWithLogitsLoss, functional as F
8
  from torch.optim import Adam